states property
Its states: WidgetState.focused while it has the focus, WidgetState.disabled when the field takes no input, WidgetState.error when the field's value is out of range.
Implementation
final Set<WidgetState> states;
Its states: WidgetState.focused while it has the focus, WidgetState.disabled when the field takes no input, WidgetState.error when the field's value is out of range.
final Set<WidgetState> states;