AudioPlayers


audioplayers_platform_interface

A common platform interface for the audioplayers plugin.

Usage

This package will be automatically included in your app, which means you can simply use audioplayers normally, without adding this package to your pubspec.yaml.

To implement a new platform-specific implementation of audioplayers, extend AudioplayersPlatformInterface with an implementation that performs the platform-specific behavior. When you register your plugin, set the default AudioplayersPlatformInterface by calling AudioplayersPlatformInterface.instance = MyAudioplayersPlatform(). Then do the same for GlobalAudioplayersPlatformInterface.