# hasEnabledState constant

SemanticsFlag const hasEnabledState = const SemanticsFlag._(_kHasEnabledStateIndex)

The semantics node has the quality of either being "enabled" or "disabled".

For example, a button can be enabled or disabled and therefore has an "enabled" state. Static text is usually neither enabled nor disabled and therefore does not have an "enabled" state.

## Implementation

    static const SemanticsFlag hasEnabledState = const SemanticsFlag._(_kHasEnabledStateIndex)