isPlaying property

bool get isPlaying

是否正在播放

Implementation

bool get isPlaying => _audioPlayer.state == PlayerState.playing;