updateThickness method

void updateThickness(
  1. double nextThickness,
  2. Radius nextRadius
)

Update and redraw with new scrollbar thickness and radius.

Implementation

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