Flutter plugin, support android/ios, crop flip rotate.
image_editor
Support android ios, use the native way to flip, crop, rotate pictures.
Screenshot
Usage
Import
import 'package:image_editor/image_editor.dart';
Method list:
ImageEditor.editImage(); ImageEditor.editFileImage(); ImageEditor.editFileImageAndGetFile(); ImageEditor.editImageAndGetFile();
ImageEditor method params
Name | Description |
---|---|
image | dart.typed_data.Uint8List |
file | dart.io.File |
imageEditorOption | flutter_image_editor.ImageEditorOption |
ImageEditorOption
final editorOption = ImageEditorOption(); editorOption.addOption(FlipOption()); editorOption.addOption(ClipOption()); editorOption.addOption(RotateOption());
Option
Flip
FlipOption(horizontal:true, vertical:false);
Clip
ClipOption(x:0, y:0, width:1920, height:1920);
Rotate
RotateOption(degree: 180);
LICENSE
MIT Style.
Download Flutter Image Editor Plugin Source Code on GitHub
https://github.com/fluttercandies/flutter_image_editor
Is this Image Editor Plugin free to use?
Yes. Since it is an open-source project you can use in your project, but you have to provide credit for that. For more details their license under GitHub repository.
Could we download this code and customize it?
Yes, You can download Flutter Image Editor code on GitHub and customize as you would like.
Provides the list of the opensource Flutter apps collection with GitHub repository.