LoStatus enum
Used to indicate both Fields and Forms statuses.
Values
- pure → const LoStatus
-
- Form: all fields have their initial values.
- Field: has its initial value.
- valid → const LoStatus
-
- Form: all fields have valid values.
- Field: the current value is valid.
- invalid → const LoStatus
-
- Form: all fields have valid values.
- Field: the current value is valid.
- mixed → const LoStatus
-
- Form: all fields are either valid or pure, but not invalid.
- loading → const LoStatus
-
- Form: submission is in progress.
- success → const LoStatus
-
- Form: submission has finished with success.
- failure → const LoStatus
-
- Form: submission has finished with failure.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- isFailure → bool
-
Available on LoStatus, provided by the LoStatusX extension
no setter - isInvalid → bool
-
Available on LoStatus, provided by the LoStatusX extension
no setter - isLoading → bool
-
Available on LoStatus, provided by the LoStatusX extension
no setter - isMixed → bool
-
Available on LoStatus, provided by the LoStatusX extension
no setter - isPure → bool
-
Available on LoStatus, provided by the LoStatusX extension
no setter - isSubmitted → bool
-
Available on LoStatus, provided by the LoStatusX extension
no setter - isSuccess → bool
-
Available on LoStatus, provided by the LoStatusX extension
no setter - isValid → bool
-
Available on LoStatus, provided by the LoStatusX extension
no setter - 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
Methods
-
and(
LoStatus other) → LoStatus -
Available on LoStatus, provided by the LoStatusX extension
Behaves like the logical and operator but for LoStatus to accumulate field statuses to compute the form status. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited