useChewieController function
Implementation
ChewieController useChewieController({
required String videoAsset,
double aspectRatio = 9 / 16,
bool autoPlay = false,
bool looping = false,
bool allowedScreenSleep = false,
}) {
return use(_ChewieControllerHook(
videoAsset: videoAsset,
aspectRatio: aspectRatio,
autoPlay: autoPlay,
looping: looping,
allowedScreenSleep: allowedScreenSleep,
));
}