NetworkVideoControl constructor

NetworkVideoControl({
  1. bool autoPlay = false,
  2. Duration? startAt,
  3. bool looping = false,
  4. bool fullScreenByDefault = false,
  5. ChewieProgressColors? cupertinoProgressColors,
  6. ChewieProgressColors? materialProgressColors,
  7. Widget? placeholder,
  8. Widget? overlay,
  9. bool showControlsOnInitialize = true,
  10. bool showControls = true,
  11. Widget? customControls,
  12. Widget errorBuilder(
    1. BuildContext context,
    2. String errorMessage
    )?,
  13. bool allowedScreenSleep = true,
  14. bool isLive = false,
  15. bool allowFullScreen = true,
  16. bool allowMuting = true,
  17. List<SystemUiOverlay> systemOverlaysAfterFullScreen = SystemUiOverlay.values,
  18. List<DeviceOrientation> deviceOrientationsAfterFullScreen = const [DeviceOrientation.portraitUp, DeviceOrientation.portraitDown, DeviceOrientation.landscapeLeft, DeviceOrientation.landscapeRight],
  19. 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,
});