Slider constructor
const
Slider({
- Key? key,
- required double value,
- required ValueChanged<
double> onChanged, - ValueChanged<
double> ? onChangeStart, - ValueChanged<
double> ? onChangeEnd, - double min = 0.0,
- double max = 1.0,
- int? divisions,
- Color? activeColor,
- Color? inactiveColor,
- String? label,
Implementation
const Slider({
super.key,
required this.value,
required this.onChanged,
this.onChangeStart,
this.onChangeEnd,
this.min = 0.0,
this.max = 1.0,
this.divisions,
this.activeColor,
this.inactiveColor,
this.label,
});