audioplayers library

Classes

AudioPlayer
This represents a single AudioPlayer, which can play one audio at a time. To play several audios at the same time, you must create several instances of this class.

Enums

AudioPlayerState
Indicates the state of the audio player.
PlayerControlCommand
PlayerMode
This enum is meant to be used as a parameter of the AudioPlayer's constructor. It represents the general mode of the AudioPlayer.
PlayingRouteState
Indicates which speakers use for playing
ReleaseMode
This enum is meant to be used as a parameter of setReleaseMode method.

Typedefs

AudioPlayerStateChangeHandler = void Function(AudioPlayerState? state)
CreateStreamController = StreamController Function()
ErrorHandler = void Function(String? message)
SeekHandler = void Function(bool? finished)
TimeChangeHandler = void Function(Duration duration)