SliderProps constructor
const
SliderProps({
- double value = 0,
- double min = 0,
- double max = 100,
- double? step,
- String? label,
- bool showValue = true,
- String? valuePrefix,
- String? valueSuffix,
- int valueDecimals = 0,
- SliderVariant variant = SliderVariant.primary,
- SliderSize size = SliderSize.md,
- bool showSteps = false,
- bool disabled = false,
- void onChanged()?,
- bool isRange = false,
- double? rangeMin,
- double? rangeMax,
- void onRangeChanged()?,
Implementation
const SliderProps({
this.value = 0,
this.min = 0,
this.max = 100,
this.step,
this.label,
this.showValue = true,
this.valuePrefix,
this.valueSuffix,
this.valueDecimals = 0,
this.variant = SliderVariant.primary,
this.size = SliderSize.md,
this.showSteps = false,
this.disabled = false,
this.onChanged,
this.isRange = false,
this.rangeMin,
this.rangeMax,
this.onRangeChanged,
});