undoCommand method
void
undoCommand()
Undo last graphics command
Implementation
void undoCommand() {
if (_originalCommands.isNotEmpty) {
_originalCommands.removeLast();
_invalidate();
}
}
Undo last graphics command
void undoCommand() {
if (_originalCommands.isNotEmpty) {
_originalCommands.removeLast();
_invalidate();
}
}