selected property
Whether the current item is selected.
If TreeView.selectionMode is TreeViewSelectionMode.none, this has no effect. If it's TreeViewSelectionMode.single, this item is going to be the only selected item. If it's TreeViewSelectionMode.multiple, this item is going to be one of the selected items
Implementation
bool? selected;