CarpenterUndoCommandSet class final

Standard undo/redo commands bound to one CarpenterUndoController.

Constructors

CarpenterUndoCommandSet({required CarpenterUndoController controller, String group = 'Edit'})
Creates undo and redo commands that reflect controller history state.

Properties

commands → List<CarpenterCommand<void>>
Commands in undo, redo order.
no setter
controller → CarpenterUndoController
History controller that owns reversible application operations.
final
group → String
Command group used by action and command-palette presentation.
final
hashCode → int
The hash code for this object.
no setterinherited
redo ↔ CarpenterCommandController<void>
Standard redo command with platform-native shortcuts.
latefinal
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
undo ↔ CarpenterCommandController<void>
Standard undo command with platform-native shortcuts.
latefinal

Methods

dispose() → void
Detaches the history listener and disposes both command controllers.
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