enterFullscreen static method

Future<void> enterFullscreen()

Makes the Flutter window fullscreen.

Implementation

static Future<void> enterFullscreen() async {
  if (Platform.isMacOS) {
    WindowManipulator.enterFullscreen();

    return;
  }

  await _kChannel.invokeMethod(_kEnterFullscreen);
}