Slider constructor
const
Slider({
- Key? key,
- required double value,
- required ValueChanged<
double> ? onChanged, - ValueChanged<
double> ? onChangeEnd, - double min = 0,
- double max = 1,
- int? divisions,
- String? label,
- SliderShape? shape,
Implementation
const Slider({
super.key,
required this.value,
required this.onChanged,
this.onChangeEnd,
this.min = 0,
this.max = 1,
this.divisions,
this.label,
this.shape,
});