AdvancedFormGenerator class

Constructors

AdvancedFormGenerator({required List inputs, InputDecoration? decoration, EdgeInsets? margin})
Create a new AdvancedFormGenerator instance

Properties

decoration InputDecoration?
This decoration is used for all fields, if you want to change it for some field, you can pass it to the constructor of FormFieldItem
final
getFields → dynamic
Returns all widgets that were passed in the AdvancedFormGenerator initialization
no setter
hashCode int
The hash code for this object.
no setterinherited
margin EdgeInsets?
This margin is used for all fields, if you want to change it for some field, you can pass it to the constructor of FormFieldItem
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getValue(String key) String?
Return a value from the input field with the key
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
render() List<Widget>
Returns a List with all the widgets to render
reset() → void
Resets all the TextEditingControllers inside FormFieldItems and IFormFieldItems to empty
setValue(String key, String value) → void
if the key exists, set a value to the input field with the key,
toMap({bool ignoreEmpty = false, bool emptyToNull = false}) Map<String, dynamic>
Returns a Map with all the fields and their values
toString() String
A string representation of this object.
inherited

Operators

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