I am new in flutter. I want to trim a audio. So i got the audiocutter package to implement trimming But problem is that "How to get input from the user in better UI?". I was search about that but not get any proper solution. So, how to make widget like below to get input from user.
Please help me to make this widget or if you have any idea to make above widget in flutter than tell me. Thanks in advance!!
I created a widget like this.
If you want to create widget like above.
Then you can add wave_slider file and use following code.
WaveSlider(
backgroundColor: Colors.grey.shade300,
heightWaveSlider: 100,
widthWaveSlider: 300,
duration: 12.0,
callbackStart: (duration) {
print("Start $duration");
},
callbackEnd: (duration) {
print("End $duration");
},
)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With