chewie_hooks library

Constants

useVideoPlayerController → const _VideoPlayerControllerCreator

Functions

useChewieController({Widget subtitleBuilder(BuildContext context, String subtitle)?, Subtitles? subtitle, required VideoPlayerController videoPlayerController, bool autoInitialize = false, bool autoPlay = false, Duration? startAt, bool looping = false, bool showControlsOnInitialize = true, bool showControls = true, Widget? customControls, Widget errorBuilder(BuildContext context, String errorMessage)?, double? aspectRatio, ChewieProgressColors? cupertinoProgressColors, ChewieProgressColors? materialProgressColors, Widget? placeholder, Widget? overlay, bool fullScreenByDefault = false, bool allowedScreenSleep = true, bool isLive = false, bool allowFullScreen = true, bool allowMuting = true, bool allowPlaybackSpeedChanging = true, List<double> playbackSpeeds = const [0.25, 0.5, 0.75, 1, 1.25, 1.5, 1.75, 2], List<SystemUiOverlay>? systemOverlaysOnEnterFullScreen, List<DeviceOrientation>? deviceOrientationsOnEnterFullScreen, List<SystemUiOverlay> systemOverlaysAfterFullScreen = SystemUiOverlay.values, List<DeviceOrientation> deviceOrientationsAfterFullScreen = DeviceOrientation.values, ChewieRoutePageBuilder? routePageBuilder, List<Object?>? keys}) → ChewieController