ControlledSlider constructor
const
ControlledSlider({
- Key? key,
- SliderController? controller,
- SliderValue initialValue = const SliderValue.single(0),
- ValueChanged<
SliderValue> ? onChanged, - ValueChanged<
SliderValue> ? onChangeStart, - ValueChanged<
SliderValue> ? onChangeEnd, - double min = 0,
- double max = 1,
- int? divisions,
- SliderValue? hintValue,
- double? increaseStep,
- double? decreaseStep,
- 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,
});