picture_cropper 0.0.4 picture_cropper: ^0.0.4 copied to clipboard
Flutter package for capturing and cropping photos from camera or gallery.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add picture_cropper
With Flutter:
$ flutter pub add picture_cropper
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
picture_cropper: ^0.0.4
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:picture_cropper/picture_cropper.dart';