Slider constructor

const Slider({
  1. Key? key,
  2. required double value,
  3. required ValueChanged<double> onChanged,
  4. double min = 0.0,
  5. double max = 1.0,
  6. int? divisions,
  7. Color? activeColor,
  8. Color? inactiveColor,
  9. String? label,
})

Implementation

const Slider({
  super.key,
  required this.value,
  required this.onChanged,
  this.min = 0.0,
  this.max = 1.0,
  this.divisions,
  this.activeColor,
  this.inactiveColor,
  this.label,
});