The wave_divider package is a versatile Flutter widget that enables you to add beautiful, wave-like slider to your UI. Whether you want to enhance the visual appeal of your app or create a decorative separation between sections, the WavySlider widget makes it easy and customizable.
The WavySlider
widget provides a simple way to create a horizontal wavy line slider. Here are some usage examples:
- Using the default wavy slider:
WaveSlider(
onChanged: (currentValue) {
if (kDebugMode) {
print(currentValue);
}
},
)
or a little bit of custom with:
WaveSlider(
color: Colors.red,
strokeWidth: 6,
value: .2,
waveWidth: 20,
waveHeight: 15,
width: 200,
onChanged: (currentValue) {
if (kDebugMode) {
print(currentValue);
}
},
)
You can support the library by liking it on pub, staring in on Github and reporting any bugs you encounter.