FieldValidator<Value> class
Constructors
-
FieldValidator(ValidatorFunction<
Value> valitatorFunction, {List<FormField> fieldSubscriptions = const []}) - Create a FieldValidator instance that would get passed to a field
Properties
-
fieldSubscriptions
→ List<
FormField> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- props → List
-
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited -
valitatorFunction
→ ValidatorFunction<
Value> -
final
Methods
-
getFieldSubscriptionNames(
) → List< String> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
run(
Value value, Map< String, dynamic> fieldSubscriptionValues) → String? -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited