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
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,11 +28,11 @@ Breaking changes:
28
28
[FormFieldValidator]() object. To compose multiple `FormFieldValidator`s together, use
29
29
`FormBuilderValidators.compose()` which takes a list of `FormFieldValidator` objects.
30
30
* Due to its limited use, `FormBuilderCountryPicker` was removed from the package. Its functionality could be achieved with use of `FormBuilderSearchableDropdown` which is more extensible.
31
-
*`FormBuilderCustomField` functionality is now achievable using `FormBuilderField` class which is the base class from which all fields are built in v4. Follow [these instrictions](#building-your-own-custom-field) to construct your own custom form field using `FormBuilderField`
31
+
*`FormBuilderCustomField` functionality is now achieved using `FormBuilderField` class which is the base class from which all fields are built in v4. Follow [these instructions](#building-your-own-custom-field) to construct your own custom form field using `FormBuilderField`.
32
32
33
33
### Example
34
34
```dart
35
-
final GlobalKey<FormBuilderState> _formKey = GlobalKey<FormBuilderState>();
35
+
final _formKey = GlobalKey<FormBuilderState>();
36
36
```
37
37
**Note:** Avoid defining the GlobalKey inside your build method because this will create a new GlobalKey on every build cycle bringing about some erratic behavior.
0 commit comments