image_editor
1.6.0, released 2 years ago by fluttercandies.com
Edit image data with native Android, iOS, and macOS code and output to file or memory.
What it does
Processes images using native platform code to perform actions like cropping, rotating, scaling, flipping, color adjustments, text overlay, drawing, and merging multiple images.
AI-written summary of version 1.6.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to perform high-performance image manipulation (crop, rotate, scale) using native code.
- You want to draw shapes, text, or merge multiple images programmatically into memory or a file.
Skip it when
- You only need simple image loading and network caching.
- You need pure Dart image manipulation without native platform dependencies.
Strengths
- Uses native code (objc, kotlin, arkts) for fast image processing.
- Supports a wide range of editing options including flip, crop, rotate, scale, color matrix, text addition, and drawing.
- Supports multi-image merging and blending modes.
Weaknesses
- Gaussian blur is not supported on Android and iOS according to the feature support table.
- Matrix operations are not supported on OpenHarmony.
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 3
Add the dependency to pubspec.yaml. No extra setup notes documented.
final editorOption = ImageEditorOption();
editorOption.addOption(FlipOption());
editorOption.addOption(RotateOption(degree: 180));
editorOption.outputFormat = OutputFormat.png(88);
final result = await ImageEditor.editImage(image: imageBytes, imageEditorOption: editorOption);Alternatives
Packages that do the same job and could replace image_editor.
Works with
Packages commonly used together with image_editor: ones it builds on, ones built on it, and its own family.