hasEnabledState constant

SemanticsFlag const hasEnabledState

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 = SemanticsFlag._(_kHasEnabledStateIndex, 'hasEnabledState');