PlayerState constructor
const
PlayerState({})
PlayerState
Instantaneous state of the Player
.
Implementation
const PlayerState({
this.playing = false,
this.position = Duration.zero,
this.width,
this.height,
this.subtitle = const ['', ''],
this.buffering = false,
this.buffer = Duration.zero,
this.duration = Duration.zero,
// this.playlist = const [],
this.volume = 1.0,
this.rate = 1.0,
this.completed = false,
});