disableCloseButton static method

Future<void> disableCloseButton()

Disables the window's close button.

This method is only available on macOS.

Implementation

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