selected property Null safety

bool? selected

If non-null indicates that this subtree represents something that can be in a selected or unselected state, and what its current state is.

The active tab in a tab bar for example is considered "selected", whereas all other tabs are unselected.


final bool? selected;