flutter_sound_button 0.0.2 copy "flutter_sound_button: ^0.0.2" to clipboard
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:
    • SoundButton widget with configurable sound effects on press.
    • Default sound options: click, beep, and chime (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.
    • loopSound to enable continuous playback.
    • enableHaptic for optional haptic feedback on press.
    • style to customize button appearance using ButtonStyle.
    • onPressed callback for additional actions after sound plays.
  • Included default sound assets:
    • assets/sounds/click.wav
    • assets/sounds/beep.mp3
    • assets/sounds/chime.ogg
  • Dependency on just_audio (^0.9.36) for efficient audio playback.
  • Basic documentation in README.md with 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.
1
likes
0
points
94
downloads

Publisher

unverified uploader

Weekly Downloads

A customizable Flutter button widget that plays sound effects on press.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, just_audio

More

Packages that depend on flutter_sound_button