WaveSlider constructor

const WaveSlider({
  1. Key? key,
  2. Widget? labelWidget,
  3. Widget? barWidget,
  4. double height = 200,
  5. double width = 50,
  6. double waveHeight = 20,
  7. double borderRadius = 10,
  8. Border? border,
  9. double initialValue = 1,
  10. void onChange(
    1. double position
    )?,
  11. List<Widget> customStackWidgets = const [],
  12. required Color backgroundColor,
  13. required Color liquidColor,
})

Implementation

const WaveSlider({
  Key? key,
  this.labelWidget,
  this.barWidget,
  this.height = 200,
  this.width = 50,
  this.waveHeight = 20,
  this.borderRadius = 10,
  this.border,
  this.initialValue = 1,
  this.onChange,
  this.customStackWidgets = const [],
  required this.backgroundColor,
  required this.liquidColor,
}) : super(key: key);