form_builder_image_picker 2.0.0 copy "form_builder_image_picker: ^2.0.0" to clipboard
form_builder_image_picker: ^2.0.0 copied to clipboard

Field for picking image(s) from Gallery or Camera for flutter_form_builder package

form_builder_image_picker #

Field for picking image(s) from Gallery or Camera for flutter_form_builder package

Usage #

FormBuilder(
  child: Column(
    mainAxisAlignment: MainAxisAlignment.center,
    children: <Widget>[
      FormBuilderImagePicker(
        name: 'photos',
        decoration: const InputDecoration(labelText: 'Pick Photos'),
        maxImages: 1,
      ),
      const SizedBox(height: 15),
      RaisedButton(onPressed: (){
        if(_formKey.currentState.saveAndValidate()){
          print(_formKey.currentState.value);
        }
      })
    ],
  ),
),
78
likes
100
points
2.96k
downloads

Publisher

verified publisherflutterformbuilderecosystem.com

Weekly Downloads

Field for picking image(s) from Gallery or Camera for flutter_form_builder package

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_form_builder, image_picker

More

Packages that depend on form_builder_image_picker