cache_audio_player 1.0.0
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:

With Flutter:

 $ 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.

Import it

Now in your Dart code, you can use:

import 'package:cache_audio_player/cache_audio_player.dart';
3
likes
90
pub points
70%
popularity

Publisher

Unknown

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 changes of the native players back to flutter.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on cache_audio_player