FlexPlayerConfiguration constructor
FlexPlayerConfiguration({
- bool isFullScreen = false,
- bool controlsVisible = true,
- Orientation orientationonFullScreen = Orientation.landscape,
- String? thumbnail,
- double? aspectRatio,
- bool autoDispose = true,
- bool autoPlay = true,
- bool loop = false,
- bool showControls = true,
- double volume = 1.0,
- double playbackSpeed = 1.0,
- Duration? position,
- bool isPlaying = false,
- bool autoQuality = true,
- Widget? errorWidget,
- 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,
});