The maximum slider value.
int get max => _max;
Sets the maximum slider value.
set max(int v) { if (_max == v) return; _max = v; _invalidateCache(); markNeedsPaint(); }