isPlaying property

bool get isPlaying

True if the playback is ongoing

Shortcut for player.playState == PlayState.playing

Implementation

bool get isPlaying => _playState == PlayState.playing;