getIcon

open fun getIcon(item: T?): Painter?

Returns the icon for the item, or for the root is null is passed.