Slider constructor
const
Slider({
- Key? key,
- required SliderValue value,
- ValueChanged<
SliderValue> ? onChanged, - ValueChanged<
SliderValue> ? onChangeStart, - ValueChanged<
SliderValue> ? onChangeEnd, - double min = 0,
- double max = 1,
- int? divisions,
- SliderValue? hintValue,
- double? increaseStep,
- double? decreaseStep,
Implementation
const Slider({
super.key,
required this.value,
this.onChanged,
this.onChangeStart,
this.onChangeEnd,
this.min = 0,
this.max = 1,
this.divisions,
this.hintValue,
this.increaseStep,
this.decreaseStep,
}) : assert(min <= max);