sound_library 2.2.0
sound_library: ^2.2.0 copied to clipboard
39 free, categorized UI sounds bundled as assets, with a tiny SoundPlayer to play them (plus network, file and byte sources). No backend, no network needed.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add sound_libraryThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
sound_library: ^2.2.0Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:sound_library/sound_library.dart';