undo method
void
undo()
Implementation
void undo() {
if (_paintHistory.isNotEmpty) {
_paintHistory.removeLast();
notifyListeners();
}
}
void undo() {
if (_paintHistory.isNotEmpty) {
_paintHistory.removeLast();
notifyListeners();
}
}