crop_view 0.1.0
crop_view: ^0.1.0 copied to clipboard
An aspect-locked image cropper for Flutter. The crop window stays fixed while the image pans, zooms and rotates behind it, so the crop is always fully covered. Crops to JPEG (with a quality factor) or [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add crop_viewThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
crop_view: ^0.1.0Alternatively, 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:crop_view/crop_view.dart';