FxFormValidator class
Constructors
Properties
- consumeError ↔ bool
-
getter/setter pair
-
errors
↔ Map<
String, dynamic> -
getter/setter pair
-
formKey
↔ GlobalKey<
FormState> -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
remainingError
↔ Map<
String, dynamic> -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addError(
String key, dynamic error) → void -
addErrors(
Map< String, dynamic> errors) → void -
addField<
T> (String name, {bool required = false, List< FxFieldValidatorRule< validators = const [], String? label, TextEditingController? controller}) → voidT> > -
clearErrors(
) → void -
getController(
String name) → TextEditingController? -
getData(
) → Map< String, dynamic> -
getError(
String name) → String? -
getValidation<
T> (String name) → FxFieldValidator< T> ? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onChanged<
T> (String key) → ValueChanged< T> -
resetForm(
) → void -
toString(
) → String -
A string representation of this object.
inherited
-
validateForm(
{bool clear = false, bool consumeError = true}) → bool
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited