gallery_camera_image 0.0.9 gallery_camera_image: ^0.0.9 copied to clipboard
Flutter plugin for Android and iOS supports cropping & picking images from the image library, and taking new pictures with the camera.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add gallery_camera_image
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
gallery_camera_image: ^0.0.9
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:gallery_camera_image/gallery_camera_image.dart';