onStateChanged property
Stream<({PlaybackState newValue, PlaybackState oldValue})>
get
onStateChanged
Get a PlaybackState change stream. https://github.com/wang-bin/mdk-sdk/wiki/Player-APIs#player-onstatechangedstdfunctionvoidstate-cb
Implementation
Stream<({PlaybackState oldValue, PlaybackState newValue})>
get onStateChanged => _stateCb.stream;