Slider constructor

const Slider({
  1. Key? key,
  2. required double value,
  3. required ValueChanged<double>? onChanged,
  4. ValueChanged<double>? onChangeEnd,
  5. double min = 0,
  6. double max = 1,
  7. int? divisions,
  8. String? label,
  9. SliderShape? shape,
})

Implementation

const Slider({
  super.key,
  required this.value,
  required this.onChanged,
  this.onChangeEnd,
  this.min = 0,
  this.max = 1,
  this.divisions,
  this.label,
  this.shape,
});