isToggled constant

SemanticsFlag const isToggled

If true, the semantics node is "on". If false, the semantics node is "off".

For example, if a switch is in the on position, isToggled is true.

See also:

Implementation

static const SemanticsFlag isToggled = SemanticsFlag._(_kIsToggledIndex, 'isToggled');