cache_audio_player: ^1.0.0 copied to clipboard
A flutter plugin to play and **cache** audio files. Works for iOS and Android. The plugin uses 2 channels, one to communicate events from flutter to native, and an event channel to stream the state ch
Use this package as a library
Depend on it
Run this command:
$ flutter pub add cache_audio_player
This will add a line like this to your package's pubspec.yaml (and run an implicit
dart pub get):
dependencies: cache_audio_player: ^1.0.0
Alternatively, your editor might support
flutter pub get.
Check the docs for your editor to learn more.
Now in your Dart code, you can use: