handleUndo method
void
handleUndo()
Handles the undo action.
This method calls the onUndo callback and then calls handleUpdateUI.
Implementation
void handleUndo() {
onUndo?.call();
handleUpdateUI();
}
Handles the undo action.
This method calls the onUndo callback and then calls handleUpdateUI.
void handleUndo() {
onUndo?.call();
handleUpdateUI();
}