ArcaneSlider constructor
const
ArcaneSlider({
- required double value,
- 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()?,
- Key? key,
Implementation
const ArcaneSlider({
required this.value,
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,
super.key,
}) : isRange = false,
rangeMin = null,
rangeMax = null,
onRangeChanged = null;