showCloseButton static method

Future<void> showCloseButton()

Shows the window's close button.

The close button is visible by default. This method is only available on macOS.

Implementation

static Future<void> showCloseButton() async {
  WindowManipulator.showCloseButton();
}