NiceRangeSlider constructor

const NiceRangeSlider({
  1. Key? key,
  2. required RangeValues value,
  3. required ValueChanged<RangeValues> onChanged,
  4. double min = 0,
  5. double max = 100,
  6. int? divisions,
  7. String? label,
  8. bool enabled = true,
  9. bool showLabels = true,
  10. String formatLabel(
    1. double value
    )?,
})

Implementation

const NiceRangeSlider({
  super.key,
  required this.value,
  required this.onChanged,
  this.min = 0,
  this.max = 100,
  this.divisions,
  this.label,
  this.enabled = true,
  this.showLabels = true,
  this.formatLabel,
});