closeFullScreen method
When you want to close FullScreen Page, you need pass the FullScreen's context, because this function do Navigator.pop(context);
Implementation
Future<void> closeFullScreen() async {
if (_isFullScreen) {
_isFullScreen = false;
await Misc.setSystemOverlay(SystemOverlay.values);
await Misc.setSystemOrientation(SystemOrientation.values);
context?.navigator.pop();
}
}