audiofileplayer 1.0.3 copy "audiofileplayer: ^1.0.3" to clipboard
audiofileplayer: ^1.0.3 copied to clipboard

outdated

A Flutter plugin for audio playback.

audiofileplayer #

A Flutter plugin for audio playback. Supports

  • Reading audio data from Flutter project assets, byte arrays, and remote URLs.
  • Seek to position.
  • Continue playback while app is backgrounded.
  • Callbacks for loaded audio duration, current position, and playback completion.
  • Volume
  • Looping
  • Pause/Resume.
  • Multiple audio players, with automatic memory management.

Getting Started #

To use this plugin, add audiofileplayer as a dependency in your pubspec.yaml file.

Example #

// Play a sound as a one-shot, releasing its resources when it finishes playing.
Audio.load('assets/foo.wav')..play()..dispose();

Please see the header comment of audiofileplayer.dart for more information, and see the example app of this plugin for an example showing multiple use cases.

64
likes
0
pub points
91%
popularity

Publisher

unverified uploader

A Flutter plugin for audio playback.

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, logging, meta, uuid

More

Packages that depend on audiofileplayer