clearBrush method
void
clearBrush()
Clears the brush selection.
Implementation
void clearBrush() {
extent = null;
brushState = BrushState.idle;
widget.onBrushClear?.call();
setState(() {});
}
Clears the brush selection.
void clearBrush() {
extent = null;
brushState = BrushState.idle;
widget.onBrushClear?.call();
setState(() {});
}