undo method
Reverts the value on the stack to the previous value.
Implementation
void undo() {
if (!value.canUndo) {
return;
}
onUndo.notifyListeners();
}
Reverts the value on the stack to the previous value.
void undo() {
if (!value.canUndo) {
return;
}
onUndo.notifyListeners();
}