wave_player 0.0.5
wave_player: ^0.0.5 copied to clipboard
A Flutter package for audio waveform visualization and playback with customizable UI components.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.0.5 - 2025-03-13 #
Added #
PlayPauseButton— extracted reusable play/pause widget with glow effectWaveformPlayerDelegate— delegate pattern for controller ↔ widget communicationassetPathsupport — play audio from local assets- Custom icon support:
playIconWidget,pauseIconWidget,animatedIcon - Glow customization:
glowColor,glowCount,glowRadiusFactor,glowDuration,showGlow - CI/CD with GitHub Actions (format, analyze, test)
- PR template, issue template, CONTRIBUTING.md
Changed #
- Refactored
WaveformPlayerarchitecture — separated play button, delegate, controller - Improved
BasicAudioSlider— gesture handling split (tap vs drag) - Seek behavior: audio keeps playing during drag, only seeks on release
onPlayPausefires consistently from both UI and controlleronPositionChangedfires during seek drag- Rewrote
RealWaveformGeneratorwith better normalization and web compatibility - Stricter
analysis_options.yamllint rules - README rewritten — concise, focused on usage
Fixed #
- Audio stutter and position jump when starting to drag slider
- Memory leaks in audio subscriptions
- Type safety improvements across all widgets
0.0.4 #
0.0.2 #
0.0.1 #
Added #
- Initial release
WaveformPlayerwidget with audio visualization and playbackBasicAudioSliderwith customizable waveform and thumb shapesAudioManagersingleton for coordinated playbackRealWaveformGeneratorfor audio waveform dataWavePlayerThemefor global theming- Cross-platform support (Android, iOS, Web, macOS)