SubZeroRangeSlider constructor

const SubZeroRangeSlider({
  1. Key? key,
  2. required RangeValues values,
  3. double min = 0.0,
  4. double max = 1.0,
  5. int? divisions,
  6. ValueChanged<RangeValues>? onChanged,
  7. ValueChanged<RangeValues>? onChangeStart,
  8. ValueChanged<RangeValues>? onChangeEnd,
  9. bool showTooltip = true,
  10. String valueFormatter(
    1. double
    )?,
  11. String? minLabel,
  12. String? maxLabel,
  13. bool enabled = true,
  14. double trackHeight = 4.0,
  15. double thumbRadius = 12.0,
})

Implementation

const SubZeroRangeSlider({
  super.key,
  required this.values,
  this.min = 0.0,
  this.max = 1.0,
  this.divisions,
  this.onChanged,
  this.onChangeStart,
  this.onChangeEnd,
  this.showTooltip = true,
  this.valueFormatter,
  this.minLabel,
  this.maxLabel,
  this.enabled = true,
  this.trackHeight = 4.0,
  this.thumbRadius = 12.0,
});