edvin
itemFactory
populate(itemFactory = { TreeItem(it).apply { isExpanded = true } }) { .. normal stuff here }