createWindowsController function
Gets the Windows WebViewController
This function demonstrates that the package uses desktop_webview_window which provides full Windows support through WebView2.
Implementation
Future<Webview>? createWindowsController() {
if (defaultTargetPlatform == TargetPlatform.windows) {
return WebviewWindow.create();
}
return null;
}