initializeWindowsWebView function
void
initializeWindowsWebView()
Initializes WebView for Windows platform
On Windows, desktop_webview_window provides native WebView2 integration. Users need:
- Windows 7 or higher
- WebView2 Runtime must be installed (https://developer.microsoft.com/en-us/microsoft-edge/webview2/)
- Visual C++ Redistributable may be required
Implementation
void initializeWindowsWebView() {
if (defaultTargetPlatform == TargetPlatform.windows) {
debugPrint('Windows WebView initialized via WebView2');
}
}