hideWindowControls static method

Future<void> hideWindowControls()

Hides window controls.

Implementation

static Future<void> hideWindowControls() async {
  if (Platform.isMacOS) {
    WindowManipulator.hideCloseButton();
    WindowManipulator.hideMiniaturizeButton();
    WindowManipulator.hideZoomButton();

    return;
  }

  await _kChannel.invokeMethod(_kHideWindowControls);
}