isSelected constant

SemanticsFlag const isSelected

Whether a semantics node is selected.

This flag only has meaning in nodes that have hasSelectedState flag set.

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, 'isSelected');