clear method
Implementation
void clear() {
setState(() {
_strokes.clear();
_currentStroke.clear();
});
widget.onChanged?.call(_strokes);
}
void clear() {
setState(() {
_strokes.clear();
_currentStroke.clear();
});
widget.onChanged?.call(_strokes);
}