onMainWindowWillClose method
- @SupportedPlatforms.new(platforms: [MacOSPlatform()])
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() {}