exitFullScreen method
Implementation
@override
void exitFullScreen(BuildContext context) async {
await SystemChrome.setPreferredOrientations([
DeviceOrientation.portraitUp,
DeviceOrientation.portraitDown,
]);
await SystemChrome.setEnabledSystemUIMode(
SystemUiMode.manual,
overlays: SystemUiOverlay.values,
);
_isFullScreen = false;
Navigator.pop(context);
}