UndoRedoBeacon<T> constructor
UndoRedoBeacon<T> ({
- T? initialValue,
- int historyLimit = 10,
Implementation
UndoRedoBeacon({T? initialValue, this.historyLimit = 10})
: super(initialValue) {
if (initialValue != null || isNullable) {
_addValueToHistory(initialValue as T);
}
}