LiqValidatedFieldData<T> class

Public face of a LiqValidatedField's state passed to the builder.

Properties

errorText String?
Latest validator error text, or null if the field is valid.
no setter
hasError bool
True when the validator has returned an error and not been cleared.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → T?
Current value of the field.
no setter

Methods

didChange(T? newValue) → void
Update the field's value. Triggers form-level onChanged and, if autovalidate is on, re-runs the validator.
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