Slider constructor
const
Slider({
- Key? key,
- bool allowClear = false,
- SliderController? controller,
- bool disabled = false,
- bool dots = false,
- bool draggableTrack = false,
- bool included = true,
- List<
Widget> ? marks, - double max = 100,
- double min = 0,
- bool range = false,
- bool reverse = false,
- double step = 1,
- Widget tipFormatter(
- double value
- Placement? tooltipPlacement,
- bool? tooltipVisible,
- bool vertical = false,
- void onAfterChange(
- double value
- void onChange(
- 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);