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