playerState
playerState property
Getter of the current state of the Player
Return
the current state of the player
Example
if (playerState == PlayerState.isPlaying) {
// doSomething
}
See also
Implementation
PlayerState get playerState => _playerState;