Slider constructor

const Slider({
  1. Key? key,
  2. bool allowClear = false,
  3. SliderController? controller,
  4. bool disabled = false,
  5. bool dots = false,
  6. bool draggableTrack = false,
  7. bool included = true,
  8. List<Widget>? marks,
  9. double max = 100,
  10. double min = 0,
  11. bool range = false,
  12. bool reverse = false,
  13. double step = 1,
  14. Widget tipFormatter(
    1. double value
    )?,
  15. Placement? tooltipPlacement,
  16. bool? tooltipVisible,
  17. bool vertical = false,
  18. void onAfterChange(
    1. double value
    )?,
  19. void onChange(
    1. double value
    )?,
})

Implementation

const Slider({
  Key? key,
  this.allowClear = false,
  this.controller,
  this.disabled = false,
  this.dots = false,
  this.draggableTrack = false,
  this.included = true,
  this.marks,
  this.max = 100,
  this.min = 0,
  this.range = false,
  this.reverse = false,
  this.step = 1,
  this.tipFormatter,
  this.tooltipPlacement,
  this.tooltipVisible,
  this.vertical = false,
  this.onAfterChange,
  this.onChange,
}) : super(key: key);