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
> To migrate from v7 to v8, remove `context` as a parameter to validator functions. For example, `FormBuilderValidators.required(context)` becomes `FormBuilderValidators.required()` without `context` passed in.
14
+
## Call for Maintainers
15
+
16
+
> We are looking for maintainers to contribute to the development and maintenance of Flutter Form Builder Ecosystem. Is very important to keep the project alive and growing, so we need your help to keep it up to date and with new features. You can contribute in many ways, we describe some of them in [Support](#support) section.
-`FormBuilderValidators.compose()` - runs each validator against the value provided.
52
55
-`FormBuilderValidators.conditional()` - conditionally runs a validator against the value provided.
@@ -57,7 +60,7 @@ Available built-in helper validators:
57
60
-`FormBuilderValidators.skipWhen()` - runs the validator and skips the validation when a certain condition is met.
58
61
-`FormBuilderValidators.defaultValue()` - runs the validator using the default value when the provided value is null.
59
62
60
-
Available built-in type validators include:
63
+
### Type validators
61
64
62
65
-`FormBuilderValidators.equal()` - requires the field's value to be equal to the provided object.
63
66
-`FormBuilderValidators.integer()` - requires the field's value to be an integer.
@@ -92,7 +95,7 @@ Available built-in type validators include:
92
95
-`FormBuilderValidators.unique()` - requires the field's to be unique in the provided list.
93
96
-`FormBuilderValidators.singleLine()` - requires the field's string to be a single line of text.
94
97
95
-
Available built-in use-case validators include:
98
+
### Use-case validators
96
99
97
100
-`FormBuilderValidators.creditCard()` - requires the field's value to be a valid credit card number.
98
101
-`FormBuilderValidators.creditCardExpirationDate()` - requires the field's value to be a valid credit card expiration date and can check if not expired yet.
@@ -116,7 +119,7 @@ Available built-in use-case validators include:
116
119
-`FormBuilderValidators.bic()` - requires the field's to be an valid BIC.
117
120
-`FormBuilderValidators.isbn()` - requires the field's to be an valid ISBN.
118
121
119
-
Available extension methods used for chaining validators:
122
+
## Extension methods used for chaining validators
120
123
121
124
-`FormBuilderValidator.and()` - Combines the current validator with another validator using logical AND.
122
125
-`FormBuilderValidator.or()` - Combines the current validator with another validator using logical OR.
@@ -256,6 +259,12 @@ TextFormField(
256
259
257
260
see [override_form_builder_localizations_en](example/lib/override_form_builder_localizations_en.dart) for more detail.
258
261
262
+
## Migrations
263
+
264
+
### v7 to v8
265
+
266
+
Remove `context` as a parameter to validator functions. For example, `FormBuilderValidators.required(context)` becomes `FormBuilderValidators.required()` without `context` passed in.
0 commit comments