CropRotateEditorCallbacks class

A class representing callbacks for the crop-rotate editor.

Inheritance

Constructors

CropRotateEditorCallbacks({ValueChanged<double>? onRotateStart, ValueChanged<double>? onRotateEnd, FlipCallback? onFlip, ValueChanged<double>? onRatioSelected, dynamic onMove()?, dynamic onScale()?, dynamic onDoubleTap()?, dynamic onResize()?, dynamic onReset()?, dynamic onUndo()?, dynamic onRedo()?, dynamic onDone()?, dynamic onCloseEditor()?, UpdateUiCallback? onUpdateUI})
Creates a new instance of CropRotateEditorCallbacks.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
onCloseEditor → (dynamic Function()?)
A callback function that is triggered when the editor is closed.
finalinherited
onDone → (dynamic Function()?)
A callback function that is triggered when the editing is done.
finalinherited
onDoubleTap → (dynamic Function()?)
A callback function that is triggered when a double tap action is performed.
final
onFlip FlipCallback?
A callback function that is triggered when the flip action is performed.
final
onMove → (dynamic Function()?)
A callback function that is triggered when a move action is performed.
final
onRatioSelected ValueChanged<double>?
A callback function that is triggered when a ratio is selected.
final
onRedo → (dynamic Function()?)
A callback function that is triggered when the redo action is performed.
finalinherited
onReset → (dynamic Function()?)
A callback function that is triggered when a reset action is performed.
final
onResize → (dynamic Function()?)
A callback function that is triggered when a resize action is performed.
final
onRotateEnd ValueChanged<double>?
A callback function that is triggered when a rotation gesture ends.
final
onRotateStart ValueChanged<double>?
A callback function that is triggered when a rotation gesture starts.
final
onScale → (dynamic Function()?)
A callback function that is triggered when a scale action is performed.
final
onUndo → (dynamic Function()?)
A callback function that is triggered when the undo action is performed.
finalinherited
onUpdateUI UpdateUiCallback?
A callback function that can be used to update the UI from custom widgets.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

handleCloseEditor() → void
Handles the close editor action.
inherited
handleDone() → void
Handles the done action.
inherited
handleDoubleTap() → void
Handles the double tap event.
handleFlip(bool flipX, bool flipY) → void
Handles the flip event.
handleMove() → void
Handles the move event.
handleRatioSelected(double value) → void
Handles the ratio selected event.
handleRedo() → void
Handles the redo action.
inherited
handleReset() → void
Handles the reset event.
handleResize() → void
Handles the resize event.
handleRotateEnd(double value) → void
Handles the rotate end event.
handleRotateStart(double value) → void
Handles the rotate start event.
handleScale() → void
Handles the scale event.
handleUndo() → void
Handles the undo action.
inherited
handleUpdateUI() → void
Handles the update UI action.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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