form_builder_image_picker 0.1.2
form_builder_image_picker: ^0.1.2 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);
        }
      })
    ],
  ),
),
2
likes
40
pub points
70%
popularity

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

Repository (GitHub)
View/report issues

Uploader

danvickmiller@gmail.com

License

MIT (LICENSE)

Dependencies

flutter, flutter_form_builder, image_picker, image_picker_for_web

More

Packages that depend on form_builder_image_picker