NeumorphicSlider constructor

NeumorphicSlider({
  1. Key? key,
  2. SliderStyle style = const SliderStyle(),
  3. double min = 0,
  4. double value = 0,
  5. double max = 10,
  6. double height = 15,
  7. NeumorphicSliderListener? onChanged,
  8. NeumorphicSliderListener? onChangeStart,
  9. NeumorphicSliderListener? onChangeEnd,
  10. Widget? thumb,
  11. double? sliderHeight,
})

Implementation

NeumorphicSlider({
  Key? key,
  this.style = const SliderStyle(),
  this.min = 0,
  this.value = 0,
  this.max = 10,
  this.height = 15,
  this.onChanged,
  this.onChangeStart,
  this.onChangeEnd,
  this.thumb,
  this.sliderHeight,
});