Clamp entries this in the range min-max.
min
max
@override void clampScalar(double min, double max) { super.clampScalar(min, max); notifyListeners(); }