static_setFullScreen static method

Future<void> static_setFullScreen(
  1. bool isFullScreen
)
override

Implementation

static Future<void> static_setFullScreen(bool isFullScreen) async {
  if (isFullScreen) {
    await SystemChrome.setEnabledSystemUIMode(SystemUiMode.immersiveSticky);
  } else {
    await SystemChrome.setEnabledSystemUIMode(SystemUiMode.manual,
        overlays: SystemUiOverlay.values);
  }
}