playbackMode property
Get the playback mode for the player.
Implementation
PlaybackMode get playbackMode {
int index = _preferences.get(
'player_playback_mode',
defaultValue: PlaybackMode.normalPlayback.index,
);
return PlaybackMode.values.elementAt(index);
}