RadioSlider constructor
const
RadioSlider({
- Key? key,
- int divisions = 1,
- bool outerCircle = true,
- int value = 0,
- RadioSliderOrientation orientation = RadioSliderOrientation.Horizontal,
- required ValueChanged<
int> onChanged, - Color? activeColor,
Implementation
const RadioSlider({
Key? key,
this.divisions = 1,
this.outerCircle = true,
this.value = 0,
this.orientation = RadioSliderOrientation.Horizontal,
required this.onChanged,
this.activeColor,
}) : assert(divisions >= 1),
assert(value >= 0 && value <= divisions),
super(key: key);