Flutter plugin for cropping and rotating images on Android, iOS and the web
open sourceBSD-3-Clausefree
image_cropper is a Flutter plugin for cropping and rotating images on Android, iOS and the web. It doesn't process images in Dart: it calls a native library on each platform through platform channels (uCrop on Android, TOCropViewController on iOS and Cropper.js on the web), so the cropping screen looks different on each platform. Android needs uCrop's activity added to the manifest, iOS needs no setup, and the web needs Cropper.js's script and stylesheet in index.html. Install it from pub.dev as image_cropper.
Problems it solves
- let users crop a profile photo in a Flutter app
- crop and rotate a picked image on Android and iOS from Flutter
- image cropping that also works in a Flutter web build
Features
- image cropping and rotation on Android, iOS and web
- native croppers: uCrop, TOCropViewController and Cropper.js
- platform channel API from Dart
Limitations
- The cropping screen looks different on each platform, since each uses its own native library.1
Alternatives
The same job
These do what image_cropper does.
- image_picker Flutter plugin for picking photos and videos from the gallery or the camera
- flutter_image_compress Native image compression for Flutter apps
