AppRangeSlider constructor

const AppRangeSlider({
  1. Key? key,
  2. required RangeValues values,
  3. required ValueChanged<RangeValues>? onChanged,
  4. double min = 0.0,
  5. double max = 100.0,
  6. int? divisions,
  7. String? labelText,
  8. bool enabled = true,
  9. Color? activeColor,
  10. Color? inactiveColor,
  11. Color? thumbColor,
  12. Color? overlayColor,
  13. TextStyle? labelStyle,
  14. TextStyle? valueStyle,
})

Creates a range slider.

Implementation

const AppRangeSlider({
  super.key,
  required this.values,
  required this.onChanged,
  this.min = 0.0,
  this.max = 100.0,
  this.divisions,
  this.labelText,
  this.enabled = true,
  this.activeColor,
  this.inactiveColor,
  this.thumbColor,
  this.overlayColor,
  this.labelStyle,
  this.valueStyle,
});