onPlayerStateChanged property

Stream<PlayerState> 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;