FormBuilder class
Constructors
-
FormBuilder(BuildContext context, { @required List<
FormBuilderInput> controls, @required Function onSubmit, dynamic onChanged(Map<String, dynamic> ), bool autovalidate: false, bool showResetButton: false, WillPopCallback onWillPop, Widget submitButtonContent, Widget resetButtonContent }) -
const
Properties
- autovalidate → bool
-
final
- context → BuildContext
-
final
-
controls
→ List<
FormBuilderInput> -
final
-
onChanged
→ dynamic Function(Map<
String, dynamic> ) -
final
- onSubmit → Function
-
final
- onWillPop → WillPopCallback
-
final
- resetButtonContent → Widget
-
final
- showResetButton → bool
-
final
- submitButtonContent → Widget
-
final
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- key → Key
-
Controls how one widget replaces another widget in the tree. [...]
final, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
createState(
) → _FormBuilderState - Creates the mutable state for this widget at a given location in the tree. [...]
-
createElement(
) → StatefulElement -
Creates a
StatefulElement
to manage this widget's location in the tree. [...]inherited -
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
@pragma("vm:entry-point"), inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited