Images picker field for FlutterFormBuilder. Get images from gallery or camera.
- Pick image from gallery or camera
- Show images in form
- Support several images types:
Uint8List
,XFile
,String
(url) orImageProvider
Since this package makes use of image_picker package, for platform specific setup, follow the instructions here
FormBuilder(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
FormBuilderImagePicker(
name: 'photos',
decoration: const InputDecoration(labelText: 'Pick Photos'),
maxImages: 1,
),
],
),
),
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
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
You can question or search answers on Github discussion or on StackOverflow
Donate or become a sponsor of Flutter Form Builder Ecosystem
- Simplify the field form to minimal use case
- Add visual examples (images, gifs, videos, sample application)
- Solve open issues, prioritizing bugs
Take a look to our awesome ecosystem and all packages in there