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
|`name`|`String`|`null`|`true`| This will form the key in the form value Map |
398
-
|`initialValue`|`dynamic`|`null`|`false`| The initial value of the input field |
399
-
|`readOnly`|`bool`|`false`|`false`| Determines whether the field widget will accept user input. This value will be ignored if the `readOnly` attribute of `FormBuilder` widget is set to `true`|
|`validator`|`FormFieldValidator`|`null`|`false`| A `FormFieldValidator` that will check the validity of value in the `FormField`|
402
-
|`onChanged`|`ValueChanged<T>`|`null`|`false`| This event function will fire immediately the the field value changes |
403
-
|`valueTransformer`|`ValueTransformer<T>`|`null`|`false`| Function that transforms field value before saving to form value. e.g. transform TextField value for numeric field from `String` to `num`|
395
+
|`name`|`String`|`null`|`Yes`| This will form the key in the form value Map |
396
+
|`initialValue`|`dynamic`|`null`|`No`| The initial value of the input field |
397
+
|`readOnly`|`bool`|`false`|`No`| Determines whether the field widget will accept user input. This value will be ignored if the `readOnly` attribute of `FormBuilder` widget is set to `true`|
398
+
|`decoration`|`InputDecoration`|`InputDecoration()`|`No`| Defines the border, labels, icons, and styles used to decorate the field. |
399
+
|`validator`|`FormFieldValidator`|`null`|`No`| A `FormFieldValidator` that will check the validity of value in the `FormField`|
400
+
|`onChanged`|`ValueChanged<T>`|`null`|`No`| This event function will fire immediately the the field value changes |
401
+
|`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`|
402
+
|`skipReadOnly`|`bool`|`false`|`No`| Determines whether the field and its value will be included in the final form value `Map`|
404
403
The rest of the attributes will be determined by the type of Widget being used.
0 commit comments