FormsFieldValidation<T> class

Constructors

FormsFieldValidation({List<FormsFieldValidator<T>> validatorList = const []})

Properties

errorList Iterable<FormsFieldException>
no setter
hashCode int
The hash code for this object.
no setterinherited
isValid bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
validatorList List<FormsFieldValidator<T>>
no setter

Methods

addValidator(FormsFieldValidator<T> validator) → void
addValidatorList(Iterable<FormsFieldValidator<T>> validatorList) → void
insertValidator(int index, FormsFieldValidator<T> validator) → void
insertValidatorList(int index, Iterable<FormsFieldValidator<T>> validatorList) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeValidator(FormsFieldValidator<T> validator) → void
reset() → void
toString() String
A string representation of this object.
inherited
updateValidatorList(Iterable<FormsFieldValidator<T>> validatorList) → void
validate(T value, {FormsFieldValidatorTriggerType? triggerType}) FutureOr<void>

Operators

operator ==(Object other) bool
The equality operator.
inherited