SliderFlow constructor

const SliderFlow({
  1. Key? key,
  2. required int count,
  3. required ValueChanged<int> onChanged,
  4. Color? backgroundColor,
  5. String? label,
  6. SliderFlowTheme? theme,
  7. 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');