FormifyForms class

Constructors

FormifyForms()

Properties

attributes Map<String, String>
no setter
formBuilder FormifyFormBuilder?
no setter
hashCode int
The hash code for this object.
no setterinherited
inputDecoration InputDecoration?
no setter
isAutoValidation bool
no setter
isLoadingNotifier ValueNotifier<bool>
getter/setter pair
labels Map<String, String>
no setter
onSubmit → dynamic Function(String)?
no setter
rules Map<String, List>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
separatorBuilder FormifySeparatorBuilder?
no setter
validationMessage Map<String, String>
no setter

Methods

addErrorMessage(String attribute, String message) → dynamic
clearAllErrorMessages() → dynamic
clearErrorMessages(String attribute) → dynamic
getAttributeType(String attribute) String
getErrorMessage(String attribute) String?
getErrorMessages(String attribute) List<String>?
getErrors() Map<String, List<String>>
getFormKey(String attribute) GlobalKey<FormFieldState>
getLabel(String attribute) String
getRule(String attribute) List
getValidatorMessage(String rule) String?
getValue(String attribute) → dynamic
getValues() Map<String, String>
getWidgets() List<Widget>
isFormValid() bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setErrorMessage(String attribute, String message) → dynamic
setErrorMessages(String attribute, List<String> messages) → dynamic
setInitialValue(String attribute, dynamic value) → dynamic
setInitialValues(Map<String, dynamic> values) → dynamic
setIsLoading(bool value) → dynamic
setValue(String attribute, dynamic value) → dynamic
toString() String
A string representation of this object.
inherited
validateAttribute(String attribute, dynamic value) → dynamic

Operators

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