setStrokeWidth method

void setStrokeWidth(
  1. double val
)

Sets the stroke width to the specified value and notifies listeners.

Implementation

void setStrokeWidth(double val) {
  _strokeWidth = val;
  notifyListeners();
}