InputState enum
State of a form field while the user is typing.
Values
- empty → const InputState
-
Nothing entered yet.
const InputState('empty') - incomplete → const InputState
-
What has been typed so far can still become valid.
const InputState('incomplete') - valid → const InputState
-
Complete and valid.
const InputState('valid') - invalid → const InputState
-
Cannot become valid by typing more (wrong character, prefix or length).
const InputState('invalid')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
The value used by the npm package.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String - Returns value.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
InputState> - A constant List of the values in this enum, in order of their declaration.