ChangeStack class Null safety

Implementers

Constructors

ChangeStack({int? limit})
Changes to keep track of

Properties

canRedo bool
Can redo the previous change
read-only
canUndo bool
Can undo the previous change
read-only
hashCode int
The hash code for this object.
read-onlyinherited
limit int?
Limit changes to store in the history
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

add<T>(Change<T> change) → void
Add New Change and Clear Redo Stack
addGroup<T>(List<Change<T>> changes) → void
Add New Group of Changes and Clear Redo Stack
clear() → void
Clear Undo History
clearHistory() → void
Clear Undo History
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
redo() → void
Redo Previous Undo
toString() String
A string representation of this object.
inherited
undo() → void
Undo Last Change

Operators

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