WaveSlider constructor
const
WaveSlider({
- Key? key,
- Widget? labelWidget,
- Widget? barWidget,
- double height = 200,
- double width = 50,
- double waveHeight = 20,
- double borderRadius = 10,
- Border? border,
- double initialValue = 1,
- void onChange(
- double position
- List<
Widget> customStackWidgets = const [], - required Color backgroundColor,
- 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);