clear method
void
clear()
Implementation
void clear() {
_strokes.clear();
_currentStroke.clear();
_currentPath = Path();
_redoStack.clear();
_isDrawing = false;
notifyListeners();
}
void clear() {
_strokes.clear();
_currentStroke.clear();
_currentPath = Path();
_redoStack.clear();
_isDrawing = false;
notifyListeners();
}