showWindowControls static method

Future<void> showWindowControls()

Shows window controls.

Implementation

static Future<void> showWindowControls() async {
  if (Platform.isMacOS) {
    WindowManipulator.showCloseButton();
    WindowManipulator.showMiniaturizeButton();
    WindowManipulator.showZoomButton();

    return;
  }

  await _kChannel.invokeMethod(_kShowWindowControls);
}