MainEditorCallbacks constructor

const MainEditorCallbacks({
  1. dynamic onTap()?,
  2. dynamic onDoubleTap()?,
  3. dynamic onLongPress()?,
  4. PopInvokedCallback? onPopInvoked,
  5. ValueChanged<Layer>? onAddLayer,
  6. ValueChanged<Layer>? onUpdateLayer,
  7. ValueChanged<Layer>? onRemoveLayer,
  8. ValueChanged<SubEditor>? onOpenSubEditor,
  9. ValueChanged<SubEditor>? onCloseSubEditor,
  10. ValueChanged<ScaleStartDetails>? onScaleStart,
  11. ValueChanged<ScaleUpdateDetails>? onScaleUpdate,
  12. ValueChanged<ScaleEndDetails>? onScaleEnd,
  13. GestureScaleStartCallback? onEditorZoomScaleStart,
  14. GestureScaleUpdateCallback? onEditorZoomScaleUpdate,
  15. GestureScaleEndCallback? onEditorZoomScaleEnd,
  16. dynamic onInit()?,
  17. dynamic onAfterViewInit()?,
  18. UpdateUiCallback? onUpdateUI,
  19. dynamic onDone()?,
  20. dynamic onRedo()?,
  21. dynamic onUndo()?,
})

Creates a new instance of MainEditorCallbacks.

Implementation

const MainEditorCallbacks({
  this.onTap,
  this.onDoubleTap,
  this.onLongPress,
  this.onPopInvoked,
  this.onAddLayer,
  this.onUpdateLayer,
  this.onRemoveLayer,
  this.onOpenSubEditor,
  this.onCloseSubEditor,
  this.onScaleStart,
  this.onScaleUpdate,
  this.onScaleEnd,
  this.onEditorZoomScaleStart,
  this.onEditorZoomScaleUpdate,
  this.onEditorZoomScaleEnd,
  super.onInit,
  super.onAfterViewInit,
  super.onUpdateUI,
  super.onDone,
  super.onRedo,
  super.onUndo,
});