enableCloseButton static method
Enables the window's close button.
The close button is enabled by default. This method is only available on macOS.
Implementation
static Future<void> enableCloseButton() async {
WindowManipulator.enableCloseButton();
}