UndoHistoryValue class
Represents whether the current undo stack can undo or redo.
- Annotations
Constructors
- UndoHistoryValue({bool canUndo = false, bool canRedo = false})
-
Creates a value for whether the current undo stack can undo or redo.
const
Properties
- canRedo → bool
-
Whether the current undo stack can perform a redo operation.
final
- canUndo → bool
-
Whether the current undo stack can perform an undo operation.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
- empty → const UndoHistoryValue
- A value corresponding to an undo stack that can neither undo nor redo.