fix video controls

This commit is contained in:
Salvatore Giordano
2020-12-02 16:38:32 +01:00
parent c676a94429
commit fc171ccdea
4 changed files with 27 additions and 5 deletions
+8 -2
View File
@@ -135,8 +135,13 @@ class _FullScreenMediaState extends State<FullScreenMedia>
_controller.forward();
}
},
child: Chewie(
controller: controllerPackage.chewieController,
child: Padding(
padding: const EdgeInsets.symmetric(
vertical: 50.0,
),
child: Chewie(
controller: controllerPackage.chewieController,
),
),
);
}
@@ -175,6 +180,7 @@ class _FullScreenMediaState extends State<FullScreenMedia>
_pageController.animateToPage(val,
duration: Duration(milliseconds: 300),
curve: Curves.easeInOut);
Navigator.pop(context);
});
},
),