audioplayerui 0.0.7
audioplayerui: ^0.0.7

Flutter Android iOS

Flutter package which provides audio player ui for audioplayers package.

audioplayerui #

Audio Player UI Plugin.

Features #

  • Play (url / local file)
  • Resume / pause

Installation #

First, add audioplayerui as a dependency in your pubspec.yaml file.

Then add the AudioPlayerView like this

  AudioPlayerController audioPlayerController = AudioPlayerController();

  @override
  Widget build(BuildContext context) {
    return AudioPlayerView(
              audioPlayerController: audioPlayerController,
              trackUrl: "",
              isLocal: false,
              trackTitle: "",
              trackSubtitle: "",
              imageUrl: ""
              );
  }

Available methods for AudioPlayerController #

Methoddescriptionparametersnotes
playPlays a audio file from an remote linkurl
playLocalPlays a local audio filepath
pausePause's the currently playing track
resumeResumes the currently paused track
stopStops the playback of the current track

Example #

Demonstrates how to use the audioplayerui plugin.

See the example documentation for more information.

Contributing #

Feel free to contribute by opening issues and/or pull requests. Your feedback is very welcome!

Changelog #

See CHANGELOG.md.

License #

MIT License

Copyright (c) [2019] [Joran Dob] Copyright (c) [2019] [QREATE]

6
likes
70
pub points
58%
popularity

Publisher

qreate.io

Flutter package which provides audio player ui for audioplayers package.

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (LICENSE)

Dependencies

audioplayers, flutter

More

Packages that depend on audioplayerui