FieldState<T> class

Constructors

FieldState.new({required T? value, required List<ValidationResult> validationResults, required bool dirty, required bool touched})
const
FieldState.initial(T? initialValue)
const

Properties

dirty bool
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
touched bool
final
validationResults List<ValidationResult>
final
value → T?
final

Methods

copyWith({T? value, List<ValidationResult>? validationResults, bool? dirty, bool? touched}) FieldState<T>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(covariant FieldState<T> other) bool
The equality operator.
override