onPlayerComplete property
Stream<void>
get
onPlayerComplete
Stream of player completions.
Events are sent every time an audio is finished, therefore no event is sent when an audio is paused or stopped.
ReleaseMode.loop also sends events to this stream.
Implementation
Stream<void> get onPlayerComplete =>
eventStream.where((event) => event.eventType == AudioEventType.complete);