AtomicRangeSlider constructor

const AtomicRangeSlider({
  1. Key? key,
  2. required RangeValues values,
  3. required ValueChanged<RangeValues>? onChanged,
  4. ValueChanged<RangeValues>? onChangeStart,
  5. ValueChanged<RangeValues>? onChangeEnd,
  6. double min = 0.0,
  7. double max = 1.0,
  8. int? divisions,
  9. RangeLabels? labels,
  10. bool enabled = true,
  11. Color? activeColor,
  12. Color? inactiveColor,
  13. Color? thumbColor,
  14. double? thumbRadius,
  15. String? helperText,
  16. String? errorText,
  17. EdgeInsetsGeometry? margin,
})

Implementation

const AtomicRangeSlider({
  super.key,
  required this.values,
  required this.onChanged,
  this.onChangeStart,
  this.onChangeEnd,
  this.min = 0.0,
  this.max = 1.0,
  this.divisions,
  this.labels,
  this.enabled = true,
  this.activeColor,
  this.inactiveColor,
  this.thumbColor,
  this.thumbRadius,
  this.helperText,
  this.errorText,
  this.margin,
});