onFullscreenClose method

Future<void> onFullscreenClose()

Implementation

Future<void> onFullscreenClose() async {
  print("Fullscreen Closed");
  fullscreen.value = false;
  resetBrightness();

  if (UniversalPlatform.isWeb) {
    screenManager.setWebFullScreen(false, this);
  } else {
    if (windows) {
      screenManager.setWindowsFullScreen(false, this);
    } else {
      screenManager.setDefaultOverlaysAndOrientations();
    }
  }
}