# hasToggledState constant

SemanticsFlag const hasToggledState = const SemanticsFlag._(_kHasToggledStateIndex)

The semantics node has the quality of either being "on" or "off".

This flag is mutually exclusive with hasCheckedState.

For example, a switch has toggled state.

See also:

- SemanticsFlag.isToggled, which controls whether the node is "on" or "off".

## Implementation

    static const SemanticsFlag hasToggledState = const SemanticsFlag._(_kHasToggledStateIndex)