isRequired constant
Whether a semantics node is required.
If true, user input is required on the semantics node before a form can be submitted.
For example, a login form requires its email text field to be non-empty.
See also:
- SemanticsFlag.hasRequiredState, which enables a required state state.
Implementation
static const SemanticsFlag isRequired = SemanticsFlag._(_kIsRequiredIndex, 'isRequired');