Called during a drag when the user is selecting a new value for the slider by dragging.
final bool Function(double)? onChanged;