EasyImageEditorController class

Constructors

EasyImageEditorController()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addBackgroundColor(Color color) → void
set editor background color.
addBackgroundView(Widget? view) → void
set editor background view it will overlap background color.
addView(Widget view, {String? widgetType}) → void
This function user for add view in editor
canEditMultipleView(bool isMultipleSelection) → void
allow editor to move, zoom and rotate multiple views. if you set true than only one view can move, zoom and rotate default value is true.
flipView(int position, bool isHorizontal) → void
flip particular view
hideViewControl() → void
hide Border and Remove button from all views
moveView(int position, MoveType moveType, double value) → void
move view by provide position and move type like left, right and his his value. Ex. position = 0, moveType = MoveType.left, value = 10
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
redo() → void
redo your changes
rotateView(int position, double rotateDegree) → void
rotate particular view
saveEditing() Future<Uint8List?>
save all edited views and his position and return Uint8List data.
showViewControl() → void
show Border and Remove button in all views
toString() String
A string representation of this object.
inherited
undo() → void
undo your changes
updateMatrix(int position, Matrix4 matrix4) → void
update matrix of particular view
updateView(int position, Widget view) → void
update view of given position.
zoomInOutView(int position, double value) → void
zoom In and Out view for zoom view value > 1 for zoom out view value < 0 like (0.1)

Operators

operator ==(Object other) bool
The equality operator.
inherited