updateThickness method

void updateThickness (double nextThickness, Radius nextRadius)

Update and redraw with new scrollbar thickness and radius.

Implementation

void updateThickness(double nextThickness, Radius nextRadius) {
  thickness = nextThickness;
  radius = nextRadius;
  notifyListeners();
}