'How to make Audio Trimming widget in flutter And wave graph for sound
Solution 1:[1]
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");
},
)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Chirag Kothiya |



