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
@@ -238,11 +238,12 @@ The rest of the attributes will be determined by the type of Widget being used.
238
238
239
239
### Building your own custom field
240
240
To build your own field within a `FormBuilder`, we use `FormBuilderField` which will require that you define your own field.
241
-
```dart
241
+
Read [this article](https://medium.com/@danvickmiller/building-a-custom-flutter-form-builder-field-c67e2b2a27f4) for step-by-step instructions on how to build your own custom field.
242
+
```Dart
242
243
var options = ["Option 1", "Option 2", "Option 3"];
243
244
```
244
245
245
-
```dart
246
+
```Dart
246
247
FormBuilderField(
247
248
name: "name",
248
249
validator: FormBuilderValidators.compose([
@@ -274,11 +275,11 @@ FormBuilderField(
274
275
275
276
### Programmatically changing field value
276
277
You can either change the value of one field at a time like so:
0 commit comments