isSelected constant Null safety

SemanticsFlag const isSelected

Whether a semantics node is selected.

If true, the semantics node is "selected". If false, the semantics node is "unselected".

For example, the active tab in a tab bar has isSelected set to true.

Implementation

static const SemanticsFlag isSelected = SemanticsFlag._(_kIsSelectedIndex);