flutter_waveform_player 0.1.0
flutter_waveform_player: ^0.1.0 copied to clipboard
A self-contained Flutter waveform audio player widget. Provide a local or network audio URL — it handles downloading, real waveform extraction via FFmpeg, caching, playback, seek gestures, and a fully [...]
Changelog #
0.1.0 #
🎉 Initial Release #
- WaveformPlayer widget — self-contained audio waveform player.
- WaveformController — manages audio playback, waveform extraction, and state.
- WaveformStyle — fully customisable bar colors, sizes, caps, and seek indicator.
- WaveformPainter — CustomPainter for rendering waveform bars with highlight progress.
- Real waveform extraction from audio files via FFmpeg.
- Automatic downloading and caching of remote audio files.
- Built-in play/pause button with custom builder support.
- Seek gestures — tap or drag on the waveform to seek with haptic feedback.
- Time labels — optional position / duration display.
autoPlayparameter — load waveform without auto-playing.- Support for local file and network URL audio sources.
- External controls support — disable built-in button and control from anywhere.
- In-memory caching of extracted waveform data and downloaded files.
- Lifecycle-aware — easy to stop audio on app background/detach.