Slider.success constructor

const Slider.success({
  1. required double value,
  2. double min = 0,
  3. double max = 100,
  4. String? label,
  5. bool showValue = true,
  6. String? valuePrefix,
  7. String? valueSuffix,
  8. void onChanged(
    1. double
    )?,
  9. Key? key,
})

Success slider

Implementation

const Slider.success({
  required this.value,
  this.min = 0,
  this.max = 100,
  this.label,
  this.showValue = true,
  this.valuePrefix,
  this.valueSuffix,
  this.onChanged,
  super.key,
}) : style = SliderStyle.success;