onPlayerStateChanged property
Stream<PlayerState>
get
onPlayerStateChanged
Stream of changes on player playerState.
Events are sent every time the state of the audioplayer is changed
Implementation
Stream<PlayerState> get onPlayerStateChanged => _playerStateController.stream;