itsmeabhi12 / form_builder_image_picker

Images picker field for FlutterFormBuilder. Get images from gallery or camera

Home Page:https://pub.dev/packages/form_builder_image_picker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Form Builder Image Picker

Images picker field for FlutterFormBuilder. Get images from gallery or camera.

Pub Version GitHub Workflow Status CodeFactor Grade Codecov Discord


Features

  • Pick image from gallery or camera
  • Show images in form
  • Support several images types: Uint8List, XFile, String (url) or ImageProvider

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 join to our Discord server or search answers in StackOverflow

Donations

Buy a coffe to Danvick Miller, creator of this awesome package

Buy me a coffee

Roadmap

Ecosystem

Take a look to our awesome ecosystem and all packages in there

Thanks to

Contributors

Made with contrib.rocks.

About

Images picker field for FlutterFormBuilder. Get images from gallery or camera

https://pub.dev/packages/form_builder_image_picker

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Dart 86.8%Language:HTML 4.7%Language:Ruby 4.1%Language:Shell 2.6%Language:Swift 1.2%Language:Kotlin 0.4%Language:Objective-C 0.1%