sound_library 0.1.1 sound_library: ^0.1.1 copied to clipboard
Easy UI sounds to directly use in your app through mis develop sound library database
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);
Play a sound from a local path
SoundPlayer.i.playLocal(path);
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