ArcaneSlider.error constructor

const ArcaneSlider.error({
  1. String? id,
  2. required double value,
  3. double min = 0,
  4. double max = 100,
  5. double? step,
  6. String? label,
  7. bool showValue = true,
  8. String? valuePrefix,
  9. String? valueSuffix,
  10. int valueDecimals = 0,
  11. ComponentSize size = ComponentSize.md,
  12. bool showSteps = false,
  13. bool disabled = false,
  14. void onChanged(
    1. double
    )?,
  15. ArcaneInteraction? onChangeAction,
  16. ArcaneStyleData? styles,
  17. ArcaneDecoration? decoration,
  18. Key? key,
})

Implementation

const ArcaneSlider.error({
  this.id,
  required this.value,
  this.min = 0,
  this.max = 100,
  this.step,
  this.label,
  this.showValue = true,
  this.valuePrefix,
  this.valueSuffix,
  this.valueDecimals = 0,
  this.size = ComponentSize.md,
  this.showSteps = false,
  this.disabled = false,
  this.onChanged,
  this.onChangeAction,
  this.styles,
  this.decoration,
  super.key,
})  : variant = SliderVariant.error,
      isRange = false,
      rangeMin = null,
      rangeMax = null,
      onRangeChanged = null;