enableCloseButton static method

Future<void> enableCloseButton()

Enables the window's close button.

The close button is enabled by default.

Implementation

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