Refactors video player controller

format

fixing video

format

Working

format
This commit is contained in:
Marty Fuhry
2024-03-01 15:37:37 -05:00
parent adb541e627
commit f151e6cead
13 changed files with 488 additions and 365 deletions
@@ -96,14 +96,17 @@ class _ChewieControllerHookState
@override
void initHook() async {
print('CHEWIE CONTROLLER > creating chewie $hashCode');
super.initHook();
_initialize().whenComplete(() => setState(() {}));
}
@override
void dispose() {
chewieController?.dispose();
print('CHEWIE CONTROLLER > disposing chewie $hashCode');
videoPlayerController?.pause();
videoPlayerController?.dispose();
chewieController?.dispose();
super.dispose();
}