clearBrush method

void clearBrush()

Clears the brush selection.

Implementation

void clearBrush() {
  extent = null;
  brushState = BrushState.idle;
  widget.onBrushClear?.call();
  setState(() {});
}