clear method
void
clear()
Implementation
void clear() {
if (isEmpty) return;
_strokes.clear();
_redo.clear();
_active = null;
notifyListeners();
}
void clear() {
if (isEmpty) return;
_strokes.clear();
_redo.clear();
_active = null;
notifyListeners();
}