current property
ValueStream<Playing?>
get
current
The current playing audio, filled with the total song duration Exposes a PlayingAudio
Retrieve directly the current played asset final PlayingAudio playing = _assetsAudioPlayer.current.value;
Listen to the current playing song _assetsAudioPlayer.current.listen((playing){ final path = playing.audio.path; final songDuration = playing.audio.duration; })
Implementation
ValueStream<Playing?> get current => _current.stream;