flutter_sound_button 0.0.2
flutter_sound_button: ^0.0.2 copied to clipboard
A customizable Flutter button widget that plays sound effects on press.
Changelog #
All notable changes to flutter_sound_button will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[Unreleased] #
- Planned features:
- Add support for recording custom sounds via microphone.
- Introduce multi-sound randomization (e.g., play a random sound from a list).
- Sync sound playback with button press animations (e.g., scale or bounce effects).
0.0.1 - 2025-04-01 #
Added #
- Initial release of
flutter_sound_button. - Core functionality:
SoundButtonwidget with configurable sound effects on press.- Default sound options:
click,beep, andchime(bundled as assets). - Support for custom sound files via
soundPath(e.g., MP3, WAV from assets).
- Customization options:
volume(0.0 to 1.0) for sound loudness.playbackSpeed(e.g., 1.0 = normal, 2.0 = fast) for sound tempo.loopSoundto enable continuous playback.enableHapticfor optional haptic feedback on press.styleto customize button appearance usingButtonStyle.onPressedcallback for additional actions after sound plays.
- Included default sound assets:
assets/sounds/click.wavassets/sounds/beep.mp3assets/sounds/chime.ogg
- Dependency on
just_audio(^0.9.36) for efficient audio playback. - Basic documentation in
README.mdwith usage examples.
Changed #
- N/A (initial release).
Deprecated #
- N/A (initial release).
Removed #
- N/A (initial release).
Fixed #
- N/A (initial release).
Security #
- N/A (initial release).
Notes #
- This is the first version of
flutter_sound_button, designed to enhance Flutter apps with interactive sound effects. - Future updates may expand sound customization and add platform-specific optimizations.