FlVideoPlayerController constructor
FlVideoPlayerController({
- required VideoPlayerController videoPlayerController,
- bool autoInitialize = false,
- bool autoPlay = false,
- Duration? startAt,
- bool looping = false,
- bool fullScreenByDefault = false,
- Widget? placeholder,
- Widget? overlay,
- bool showControlsOnInitialize = true,
- Subtitles? subtitle,
- SubtitlesBuilder? subtitleBuilder,
- Widget? controls,
- bool allowedScreenSleep = true,
- bool isLive = false,
- List<
SystemUiOverlay> ? systemOverlaysOnEnterFullScreen, - List<
DeviceOrientation> ? deviceOrientationsOnEnterFullScreen, - List<
SystemUiOverlay> systemOverlaysAfterFullScreen = SystemUiOverlay.values, - List<
DeviceOrientation> deviceOrientationsAfterFullScreen = DeviceOrientation.values, - 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();
}