disableCloseButton static method

Future<void> disableCloseButton()

Disables the window's close button.

Implementation

static Future<void> disableCloseButton() async {
  await _completer.future;
  await _windowManipulatorMethodChannel.invokeMethod('disableCloseButton');
}