StandaloneEditorCallbacks class abstract
A class representing callbacks for standalone editors.
Constructors
- StandaloneEditorCallbacks({UpdateUiCallback? onUpdateUI, dynamic onUndo()?, dynamic onRedo()?, dynamic onDone()?, dynamic onCloseEditor()?, dynamic onInit()?, dynamic onAfterViewInit()?})
-
Creates a new instance of StandaloneEditorCallbacks.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onAfterViewInit → dynamic Function()?
-
Called when this object is inserted into the tree and rendered in the
build
.final - onCloseEditor → dynamic Function()?
-
A callback function that is triggered when the editor is closed.
final
- onDone → dynamic Function()?
-
A callback function that is triggered when the editing is done.
final
- onInit → dynamic Function()?
-
Called when this object is inserted into the tree.
final
- onRedo → dynamic Function()?
-
A callback function that is triggered when the redo action is performed.
final
- onUndo → dynamic Function()?
-
A callback function that is triggered when the undo action is performed.
final
- onUpdateUI → UpdateUiCallback?
-
A callback function that can be used to update the UI from custom widgets.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
handleCloseEditor(
) → void - Handles the close editor action.
-
handleDone(
) → void - Handles the done action.
-
handleRedo(
) → void - Handles the redo action.
-
handleUndo(
) → void - Handles the undo action.
-
handleUpdateUI(
) → void - Handles the update UI action.
-
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