PrismSlider constructor

const PrismSlider({
  1. Key? key,
  2. required double value,
  3. required ValueChanged<double>? onChanged,
  4. double min = 0,
  5. double max = 1,
  6. int? divisions,
  7. String? label,
  8. bool showValue = false,
  9. Color? color,
})

Creates a slider.

Implementation

const PrismSlider({
  super.key,
  required this.value,
  required this.onChanged,
  this.min = 0,
  this.max = 1,
  this.divisions,
  this.label,
  this.showValue = false,
  this.color,
});