flutter_sound_button 0.0.1
flutter_sound_button: ^0.0.1 copied to clipboard
A customizable Flutter button widget that plays sound effects on press.
flutter_sound_button #
A customizable Flutter widget that creates buttons with sound effects. Play default sounds like clicks, beeps, or chimes, or add your own custom audio files—all with a simple API. Enhance your app’s interactivity with adjustable volume, playback speed, haptic feedback, and more!
Features #
- Default Sounds: Preloaded options including
click,beep, andchime. - Custom Sounds: Load your own audio files from assets or file paths.
- Sound Customization: Adjust volume, playback speed, and looping behavior.
- Haptic Feedback: Optional vibration on press for a tactile experience.
- Styling: Fully customizable button appearance (shape, color, icons, etc.).
- Lightweight: Built with
just_audiofor efficient audio playback.
Installation #
Add flutter_sound_button to your project by including it in your pubspec.yaml:
dependencies:
flutter_sound_button: ^0.0.1