AVPlayerState constructor

const AVPlayerState({
  1. Duration position = Duration.zero,
  2. Duration duration = Duration.zero,
  3. Duration buffered = Duration.zero,
  4. bool isPlaying = false,
  5. bool isBuffering = false,
  6. bool isLooping = false,
  7. bool isInitialized = false,
  8. bool isInPipMode = false,
  9. bool isCompleted = false,
  10. double playbackSpeed = 1.0,
  11. double volume = 1.0,
  12. double aspectRatio = 16 / 9,
  13. String? errorDescription,
})

Implementation

const AVPlayerState({
  this.position = Duration.zero,
  this.duration = Duration.zero,
  this.buffered = Duration.zero,
  this.isPlaying = false,
  this.isBuffering = false,
  this.isLooping = false,
  this.isInitialized = false,
  this.isInPipMode = false,
  this.isCompleted = false,
  this.playbackSpeed = 1.0,
  this.volume = 1.0,
  this.aspectRatio = 16 / 9,
  this.errorDescription,
});