FormeFieldValidateSnapshot<T> class

used to hold validate result and validated value

since value may be changed during async validation

Constructors

FormeFieldValidateSnapshot(T value, FormeFieldValidation validation, String? name, FormeFieldState<T> field)

Properties

field → FormeFieldState<T>
final
hashCode → int
The hash code for this object.
no setterinherited
isInvalid → bool
whether field is invalid
no setter
isValid → bool
no setter
isValueChanged → bool
whether value changed after initialized
no setter
isValueChangedAfterValidation → bool
no setter
name → String?
name of field
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
validation → FormeFieldValidation
validation , may not equals the field's current validation if performed another validate during async validation
final
value → T
validated value , may not equals the field's value
final

Methods

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