You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|||||
48
49
49
50
## Inputs
@@ -67,15 +68,16 @@ The currently supported fields include:
67
68
68
69
In order to create an input field in the form, along with the label, and any applicable validation, there are several attributes that are supported by all types of inputs namely:
|`name`|`String`||`Yes`| This will form the key in the form value Map |
73
-
|`initialValue`|`T`|`null`|`No`| The initial value of the input field |
74
-
|`enabled`|`bool`|`true`|`No`| Determines whether the field widget will accept user input. |
75
-
|`decoration`|`InputDecoration`|`InputDecoration()`|`No`| Defines the border, labels, icons, and styles used to decorate the field. |
76
-
|`validator`|`FormFieldValidator<T>`|`null`|`No`| A `FormFieldValidator` that will check the validity of value in the `FormField`|
77
-
|`onChanged`|`ValueChanged<T>`|`null`|`No`| This event function will fire immediately the the field value changes |
78
-
|`valueTransformer`|`ValueTransformer<T>`|`null`|`No`| Function that transforms field value before saving to form value. e.g. transform TextField value for numeric field from `String` to `num`|
|`name`|`String`||`Yes`| This will form the key in the form value Map |
74
+
|`initialValue`|`T`|`null`|`No`| The initial value of the input field |
75
+
|`enabled`|`bool`|`true`|`No`| Determines whether the field widget will accept user input. |
76
+
|`decoration`|`InputDecoration`|`InputDecoration()`|`No`| Defines the border, labels, icons, and styles used to decorate the field. |
77
+
|`validator`|`FormFieldValidator<T>`|`null`|`No`| A `FormFieldValidator` that will check the validity of value in the `FormField`|
78
+
|`onChanged`|`ValueChanged<T>`|`null`|`No`| This event function will fire immediately the the field value changes |
79
+
|`valueTransformer`|`ValueTransformer<T>`|`null`|`No`| Function that transforms field value before saving to form value. e.g. transform TextField value for numeric field from `String` to `num`|
80
+
79
81
The rest of the attributes will be determined by the type of Widget being used.
80
82
81
83
## Use
@@ -109,48 +111,48 @@ See [pub.dev example tab](https://pub.dev/packages/flutter_form_builder/example)
0 commit comments