FxFormDataMixin mixin

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
clearErrors() → void
createValidation(String name, {bool required = false, List<FxFormValidator> validators = const [], String? label}) FxFieldValidator
getError(String name) String?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
validateForm({bool clear = false, bool consumeError = true}) bool
validateFormWithErrors(Map<String, dynamic> errors, {bool consumeError = true}) Tuple2<bool, Map<String, dynamic>>

Operators

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