image_capture_field 0.3.0 image_capture_field: ^0.3.0 copied to clipboard
ImageCaptureField is as easy-to-use as a TextField which works with it's own controller to take image input with inbuilt optional image cropper
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add image_capture_field
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
image_capture_field: ^0.3.0
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_capture_field/image_capture_field.dart';