setMode method

void setMode(
  1. PaintMode mode
)

Implementation

void setMode(PaintMode mode) {
  _mode = mode;
  notifyListeners();
}