sound_library 0.0.1 sound_library: ^0.0.1 copied to clipboard
Easy UI sounds
Features #
Easy Free UI sounds library for your app
Getting started #
Add this import line
import 'package:sound_library/sound_library.dart';
Usage #
Play a sound from the library
SoundPlayer.i.play(Sounds.click);
Check if audio is enabled locally
bool enabled = SoundPlayer.i.checkAudioEnabled();
Enable/disable sounds
SoundPlayer.i.setAudioEnabled(true/false);
Additional information #
This package assumes corresponding permissions depending on platform