# isToggled constant

SemanticsFlag const isToggled = const SemanticsFlag._(_kIsToggledIndex)

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:

- SemanticsFlag.hasToggledState, which enables a toggled state.

## Implementation

    static const SemanticsFlag isToggled = const SemanticsFlag._(_kIsToggledIndex)