initializeMacOSWebView function
void
initializeMacOSWebView()
Initializes WebView for macOS platform
On macOS, desktop_webview_window provides native WKWebView integration. Users need:
- macOS 10.10 or higher
- Xcode command line tools
- Web capabilities enabled in Xcode project
Implementation
void initializeMacOSWebView() {
if (defaultTargetPlatform == TargetPlatform.macOS) {
debugPrint('macOS WebView initialized via WKWebView');
}
}