flutter-form-builder-ecosystem / flutter-form-builder-ecosystem/form_builder_image_picker
Directly open camera or gallery if only one of them is set as `availableImageSources`
- Dominant language
- Dart
- Stars
- 34
- Forks
- 65
- PR merge metrics
- No merged PRs in 30d
Description
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Package/Plugin version
4.0.0
### What you'd like to happen
```Markdown
#40 added the ability to control the image source by setting the `availableImageSources` option. If there's only one option set in it, for example:
availableImageSources = [ImageSourceOption.gallery]
the bottom sheet is displayed even though there's only one action to take. Directly opening the gallery in this case would a better flow.
```
### Alternatives you've considered
_No response_
### Aditional information
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.