AudioPlayersService class
Constructors
Properties
-
currentlyPlayingIndexNotifier
→ ValueNotifier<
int?> -
final
-
currentPosition
→ ValueNotifier<
Duration> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
isPlaying
→ ValueNotifier<
bool> -
final
- player → AudioPlayer
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
totalDuration
→ ValueNotifier<
Duration> -
final
Methods
-
getDurationForFile(
String filePath) → Future< Duration?> -
initializeAudioPLayer(
) → Future< void> -
listen(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pausePlayingAudio(
) → Future< void> -
seekTo(
Duration position) → Future< void> -
setAudioPath(
String path) → Future< void> -
setPlayBackAudio(
double rate) → Future< void> -
startPlayingAudio(
) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited