cropperx
1.1.1, released 4 years ago by speedkodi.com
An image cropper package made in Flutter to crop and rotate images.
What it does
CropperX provides a Flutter widget that allows users to crop and rotate images directly inside the app. It supports multiple overlay types including circles, rectangles, and grids. The cropped image can be retrieved as bytes using a global key reference.
AI-written summary of version 1.1.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need an in-app UI for users to crop and rotate images
- You want support for custom overlay guides like circles or grid lines
Skip it when
- You need a full-featured image picker instead of a cropping widget
- You need non-widget-based server-side or background image processing without UI
Strengths
- Pure Flutter implementation
- Supports multiple overlay shapes and grid types
- Supports image rotation with custom turns
Weaknesses
- Limited to what is provided by the custom widget and GlobalKey mechanism
- Not documented for advanced image manipulation beyond cropping and rotating
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
not documented
final _cropperKey = GlobalKey(debugLabel: 'cropperKey');
Cropper(
cropperKey: _cropperKey,
image: Image.network(
'https://i.pinimg.com/originals/6b/4d/18/6b4d18c0b756ab20c3591490dfc10090.jpg',
),
);
final imageBytes = await Cropper.crop(
cropperKey: _cropperKey,
);Alternatives
Packages that do the same job and could replace cropperx.
- extended_image
Extended image library with caching, placeholders, zoom/pan, slide-out, and crop editor.
80Compare - crop_your_image
Flutter widget to embed customizable image cropping UI anywhere in your widget tree.
87Compare - image_cropper
A Flutter plugin for Android, iOS and Web supports cropping images
84Compare - native_image_cropper
A Flutter plugin for native rectangular and circular image cropping.
70Compare