Skip to content

Commit 663da89

Browse files
committed
add info to readme
1 parent a5019cf commit 663da89

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,21 @@ FormBuilder(
5252
),
5353
```
5454

55+
### Only specific pickers
56+
```dart
57+
FormBuilder(
58+
child: Column(
59+
mainAxisAlignment: MainAxisAlignment.center,
60+
children: <Widget>[
61+
FormBuilderImagePicker(
62+
name: 'noCamera',
63+
availableImageSources: const [ImageSourceOption.gallery],
64+
),
65+
],
66+
),
67+
),
68+
```
69+
5570
See [pub.dev example tab](https://pub.dev/packages/form_builder_image_picker/example) or [github code](example/lib/main.dart) for more details
5671

5772
## Support

0 commit comments

Comments
 (0)