easy_image_editor

Creator: coderz1093

Last updated:

0 purchases

easy_image_editor Image
easy_image_editor Images

Languages

Categories

Add to Cart

Description:

easy image editor

Easy Image Editor #














EasyImageEditor use for add any kind of widget over the background image or color and move that widget, resize, rotate.



Features #

change editor background color.
add any widget as background in editor.
add any widget over the editor.
move, resize, flip, zoom and rotate added widget.
update added widget with another widget.
allow undo and redo.
allow single and multiple selection.
allow change border color and remove icon.
remove added widget.
handle all action manually

Getting started #
First, add easy_image_editor as a dependency in your pubspec.yaml file.
then add this line in your file import 'package:easy_image_editor/easy_image_editor.dart';
Usage #
import 'package:easy_image_editor/easy_image_editor.dart';

class _MyHomePageState extends State<MyHomePage> {
late EasyImageEditorController _easyImageEditorController;
...

@override
void initState() {
super.initState();
...
}
...

@override
Widget build(BuildContext context) {
return Scaffold(
...
body: EditorView(
onInitialize: (controller) {
setState(() {
_easyImageEditorController = controller;
});
},
),
...
);
}
...
}
copied to clipboard
for more detail and usage see /example/lib/main.dart
Additional information #

borderColor use for set border color of widget default value Colors.black.
removeIcon set remove icon of widget default value Icon(Icons.cancel).
onViewTouch this event call when widget touch.
onViewTouchOver this event call when widget touch remove.
addBackgroundColor set background color of editor.
addBackgroundView set background color of editor. it will overlap background color.
addView add any kind of view over the editor.
updateView update added view in editor.
canEditMultipleView set edit selection mode multiple or single default value true.
hideViewControl it will hide borders and remove icons of all added widget.
showViewControl it will show borders and remove icons of all added widget.
onClick this event call when widget click.
clickToFocusAndMove if you set true then any widget move, rotate, zoom by touch when user click's on default value false.
moveView move widget over the editor programmatically.
rotateView rotate widget over the editor programmatically.
zoomInOutView zoom in or out widget over the editor programmatically.
flipView flip vertical or horizontal widget over the editor programmatically.
updateMatrix update widget matrix over the editor programmatically like your way.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.