FlVideoPlayerController constructor

FlVideoPlayerController({
  1. required VideoPlayerController videoPlayerController,
  2. bool autoInitialize = false,
  3. bool autoPlay = false,
  4. Duration? startAt,
  5. bool looping = false,
  6. bool fullScreenByDefault = false,
  7. Widget? placeholder,
  8. Widget? overlay,
  9. bool showControlsOnInitialize = true,
  10. Subtitles? subtitle,
  11. SubtitlesBuilder? subtitleBuilder,
  12. Widget? controls,
  13. bool allowedScreenSleep = true,
  14. bool isLive = false,
  15. List<SystemUiOverlay>? systemOverlaysOnEnterFullScreen,
  16. List<DeviceOrientation>? deviceOrientationsOnEnterFullScreen,
  17. List<SystemUiOverlay> systemOverlaysAfterFullScreen = SystemUiOverlay.values,
  18. List<DeviceOrientation> deviceOrientationsAfterFullScreen = DeviceOrientation.values,
  19. FlVideoPlayerRoutePageBuilder? routePageBuilder,
})

Implementation

FlVideoPlayerController(
    {required this.videoPlayerController,
    this.autoInitialize = false,
    this.autoPlay = false,
    this.startAt,
    this.looping = false,
    this.fullScreenByDefault = false,
    this.placeholder,
    this.overlay,
    this.showControlsOnInitialize = true,
    this.subtitle,
    this.subtitleBuilder,
    this.controls,
    this.allowedScreenSleep = true,
    this.isLive = false,
    this.systemOverlaysOnEnterFullScreen,
    this.deviceOrientationsOnEnterFullScreen,
    this.systemOverlaysAfterFullScreen = SystemUiOverlay.values,
    this.deviceOrientationsAfterFullScreen = DeviceOrientation.values,
    this.routePageBuilder}) {
  _initialize();
}