SliderProps constructor
const
SliderProps({
- String? id,
- 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,
- ComponentSize size = ComponentSize.md,
- bool showSteps = false,
- bool disabled = false,
- void onChanged()?,
- bool isRange = false,
- double? rangeMin,
- double? rangeMax,
- void onRangeChanged()?,
- ArcaneInteraction? onChangeAction,
- ArcaneStyleData? styles,
- ArcaneDecoration? decoration,
Implementation
const SliderProps({
this.id,
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 = ComponentSize.md,
this.showSteps = false,
this.disabled = false,
this.onChanged,
this.isRange = false,
this.rangeMin,
this.rangeMax,
this.onRangeChanged,
this.onChangeAction,
this.styles,
this.decoration,
});