ControlledSlider constructor

const ControlledSlider({
  1. Key? key,
  2. SliderController? controller,
  3. SliderValue initialValue = const SliderValue.single(0),
  4. ValueChanged<SliderValue>? onChanged,
  5. ValueChanged<SliderValue>? onChangeStart,
  6. ValueChanged<SliderValue>? onChangeEnd,
  7. double min = 0,
  8. double max = 1,
  9. int? divisions,
  10. SliderValue? hintValue,
  11. double? increaseStep,
  12. double? decreaseStep,
  13. bool enabled = true,
})

Implementation

const ControlledSlider({
  super.key,
  this.controller,
  this.initialValue = const SliderValue.single(0),
  this.onChanged,
  this.onChangeStart,
  this.onChangeEnd,
  this.min = 0,
  this.max = 1,
  this.divisions,
  this.hintValue,
  this.increaseStep,
  this.decreaseStep,
  this.enabled = true,
});