FieldControllerState<Value, ValidationError> class

The state of the field. It contains the current value, error and validation state.

Implemented types

Constructors

FieldControllerState({required Value initialValue, required Value value, required ValidationError? error, required ValidationState validationState, required bool autoValidate})
The state of the field. It contains the current value, error and validation state.
const

Properties

autoValidate bool
The current auto validation state.
final
error → ValidationError?
The current validation error of the field.
final
hashCode int
The hash code for this object.
no setteroverride
initialValue → Value
The initial value of the field.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
validationState ValidationState
The current validation state of the node.
final
value → Value
The current value of the field.
final

Methods

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 FieldControllerState<Value, ValidationError> other) bool
The equality operator.
override