Form Builder Image Picker
Images picker field for FlutterFormBuilder. Get images from gallery or camera.
Features
- Pick image from gallery or camera
- Show images in form
- Support several images types:
Uint8List
,XFile
,String
(url) orImageProvider
Use
Setup
Since this package makes use of image_picker package, for platform specific setup, follow the instructions here
Basic use
FormBuilder(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
FormBuilderImagePicker(
name: 'photos',
decoration: const InputDecoration(labelText: 'Pick Photos'),
maxImages: 1,
),
],
),
),
Only specific pickers
FormBuilder(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
FormBuilderImagePicker(
name: 'noCamera',
availableImageSources: const [ImageSourceOption.gallery],
),
],
),
),
See pub.dev example tab or github code for more details
Support
Contribute
You have some ways to contribute to this packages
- Beginner: Reporting bugs or request new features
- Intermediate: Implement new features (from issues or not) and created pull requests
- Advanced: Join to organization like a member and help coding, manage issues, dicuss new features and other things
See contribution file for more details
Questions and answers
You can question or search answers on Github discussion or on StackOverflow
Donations
Donate or become a sponsor of Flutter Form Builder Ecosystem
Roadmap
- Simplify the field form to minimal use case
- Add visual examples (images, gifs, videos, sample application)
- Solve open issues, prioritizing bugs
Ecosystem
Take a look to our awesome ecosystem and all packages in there