SliderFlow constructor
const
SliderFlow({
- Key? key,
- required int count,
- required ValueChanged<
int> onChanged, - Color? backgroundColor,
- String? label,
- SliderFlowTheme? theme,
- List<
String> ? itemLabels,
Implementation
const SliderFlow({
super.key,
required this.count,
required this.onChanged,
this.backgroundColor,
this.label,
this.theme,
this.itemLabels
}): assert(itemLabels == null || itemLabels.length == count, 'itemLabels length must match count');