crop_view 0.1.0 copy "crop_view: ^0.1.0" to clipboard
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_view

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  crop_view: ^0.1.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:crop_view/crop_view.dart';
0
likes
150
points
36
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

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 PNG. Pure Dart and Flutter — no platform channels, no JavaScript, works on every platform including web.

Repository (GitHub)
View/report issues

Topics

#image #crop #cropper #editor #widget

License

MIT (license)

Dependencies

flutter, image

More

Packages that depend on crop_view