ArcaneSlider.primary constructor

const ArcaneSlider.primary({
  1. required double value,
  2. double min = 0,
  3. double max = 100,
  4. double? step,
  5. String? label,
  6. bool showValue = true,
  7. String? valuePrefix,
  8. String? valueSuffix,
  9. int valueDecimals = 0,
  10. ComponentSize size = ComponentSize.md,
  11. bool showSteps = false,
  12. bool disabled = false,
  13. void onChanged(
    1. double
    )?,
  14. Key? key,
})

Implementation

const ArcaneSlider.primary({
  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,
  super.key,
})  : variant = SliderVariant.primary,
      isRange = false,
      rangeMin = null,
      rangeMax = null,
      onRangeChanged = null;