showCloseButton static method

Future<void> showCloseButton()

Shows the window's close button.

The close button is visible by default.

Implementation

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