NiceSlider constructor

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

Implementation

const NiceSlider({
  super.key,
  required this.value,
  required this.onChanged,
  this.min = 0,
  this.max = 100,
  this.divisions,
  this.label,
  this.enabled = true,
  this.showValue = true,
  this.formatValue,
});