NetworkVideoControl constructor
NetworkVideoControl({
- bool autoPlay = false,
- Duration? startAt,
- bool looping = false,
- bool fullScreenByDefault = false,
- ChewieProgressColors? cupertinoProgressColors,
- ChewieProgressColors? materialProgressColors,
- Widget? placeholder,
- Widget? overlay,
- bool showControlsOnInitialize = true,
- bool showControls = true,
- Widget? customControls,
- Widget errorBuilder(
- BuildContext context,
- String errorMessage
- bool allowedScreenSleep = true,
- bool isLive = false,
- bool allowFullScreen = true,
- bool allowMuting = true,
- List<
SystemUiOverlay> systemOverlaysAfterFullScreen = SystemUiOverlay.values, - List<
DeviceOrientation> deviceOrientationsAfterFullScreen = const [DeviceOrientation.portraitUp, DeviceOrientation.portraitDown, DeviceOrientation.landscapeLeft, DeviceOrientation.landscapeRight], - ChewieRoutePageBuilder? routePageBuilder,
Implementation
NetworkVideoControl({
this.autoPlay = false,
this.startAt,
this.looping = false,
this.fullScreenByDefault = false,
this.cupertinoProgressColors,
this.materialProgressColors,
this.placeholder,
this.overlay,
this.showControlsOnInitialize = true,
this.showControls = true,
this.customControls,
this.errorBuilder,
this.allowedScreenSleep = true,
this.isLive = false,
this.allowFullScreen = true,
this.allowMuting = true,
this.systemOverlaysAfterFullScreen = SystemUiOverlay.values,
this.deviceOrientationsAfterFullScreen = const [
DeviceOrientation.portraitUp,
DeviceOrientation.portraitDown,
DeviceOrientation.landscapeLeft,
DeviceOrientation.landscapeRight,
],
this.routePageBuilder,
});