image_selector_formfield 1.0.3 image_selector_formfield: ^1.0.3 copied to clipboard
This widget is a form field that allows the user to pick a image from gallery (soon from camera too), and then crop it. The widget is customizable and has all the posibilities expected on a Form Field.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add image_selector_formfield
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
image_selector_formfield: ^1.0.3
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:image_selector_formfield/image_selector_formfield.dart';