SliderProps constructor

const SliderProps({
  1. String? id,
  2. double value = 0,
  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. SliderVariant variant = SliderVariant.primary,
  12. ComponentSize size = ComponentSize.md,
  13. bool showSteps = false,
  14. bool disabled = false,
  15. void onChanged(
    1. double
    )?,
  16. bool isRange = false,
  17. double? rangeMin,
  18. double? rangeMax,
  19. void onRangeChanged(
    1. double min,
    2. double max
    )?,
  20. ArcaneInteraction? onChangeAction,
})

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,
});