PlatformSlider constructor

const PlatformSlider({
  1. Key? key,
  2. required double value,
  3. required double min,
  4. required double max,
  5. int? divisions,
  6. required ValueChanged<double> onChanged,
  7. Color? activeColor,
  8. Color? inactiveColor,
  9. Color? thumbColor,
  10. bool disabled = false,
})

Implementation

const PlatformSlider({
  super.key,
  required this.value,
  required this.min,
  required this.max,
  this.divisions,
  required this.onChanged,
  this.activeColor,
  this.inactiveColor,
  this.thumbColor,
  this.disabled = false,
});