Skip to content

cfiorillo/sound_library

 
 

Repository files navigation

Sound package

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

About

Easy UI sounds for your app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 57.2%
  • HTML 28.7%
  • Ruby 9.9%
  • Swift 3.0%
  • Other 1.2%