onMainWindowWillClose method

  1. @SupportedPlatforms.new(platforms: [MacOSPlatform()])
void onMainWindowWillClose()

Event fired when the main window is about to close.

Officially Supported Platforms/Implementations:

  • macOS WKWebView

Use the PlatformInAppBrowserEvents.isMethodSupported method to check if this method is supported at runtime.

Implementation

@SupportedPlatforms(platforms: [MacOSPlatform()])
void onMainWindowWillClose() {}