flutter_audio_player 0.1.0 flutter_audio_player: ^0.1.0 copied to clipboard
A simple plugin to play local audio.
audio_player #
A simple plugin to play local audio
Install #
add audio_player
as a dependency in pubspec.yaml
How to use #
- add audio file
- add asset in pubspec.yaml
- you can add audio to player list
AudioPlayer.addSound(soundPath);
- you can remove all audio in player list
AudioPlayer.removeAllSound();
Getting Started #
This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.