fix: fixed README.md (#245)
This commit is contained in:
parent
1ca402a3f4
commit
1cba57f909
|
@ -138,11 +138,11 @@ Listening to state changes:
|
|||
player.playerStateStream.listen((state) {
|
||||
if (state.playing) ... else ...
|
||||
switch (state.processingState) {
|
||||
case AudioPlaybackState.none: ...
|
||||
case AudioPlaybackState.loading: ...
|
||||
case AudioPlaybackState.buffering: ...
|
||||
case AudioPlaybackState.ready: ...
|
||||
case AudioPlaybackState.completed: ...
|
||||
case ProcessingState.none: ...
|
||||
case ProcessingState.loading: ...
|
||||
case ProcessingState.buffering: ...
|
||||
case ProcessingState.ready: ...
|
||||
case ProcessingState.completed: ...
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue