FlexPlayerConfiguration constructor

FlexPlayerConfiguration({
  1. bool isFullScreen = false,
  2. bool controlsVisible = true,
  3. Orientation orientationonFullScreen = Orientation.landscape,
  4. String? thumbnail,
  5. double? aspectRatio,
  6. bool autoDispose = true,
  7. bool autoPlay = true,
  8. bool loop = false,
  9. bool showControls = true,
  10. double volume = 1.0,
  11. double playbackSpeed = 1.0,
  12. Duration? position,
  13. bool isPlaying = false,
  14. bool autoQuality = true,
  15. Widget? errorWidget,
  16. bool showControlsOnError = true,
})

Implementation

FlexPlayerConfiguration({
  this.isFullScreen = false,
  this.controlsVisible = true,
  this.orientationonFullScreen = Orientation.landscape,
  this.thumbnail,
  this.aspectRatio,
  this.autoDispose = true,
  this.autoPlay = true,
  this.loop = false,
  this.showControls = true,
  this.volume = 1.0,
  this.playbackSpeed = 1.0,
  this.position,
  this.isPlaying = false,
  this.autoQuality = true,
  this.errorWidget,
  this.showControlsOnError = true,
});