Images picker field for FlutterFormBuilder. Get images from gallery or camera
BSD-3-CLAUSE License
Images picker field for FlutterFormBuilder. Get images from gallery or camera.
Uint8List
, XFile
, String
(url) or ImageProvider
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
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
Take a look to our awesome ecosystem and all packages in there