NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev
pub.dev, #517 most downloaded on pub.dev
Show a webview window on your flutter desktop application.
Latest stable
0.4.2
Last release 16 days ago
06 Nov 2026
Ships unpredictably
gaps range from 2 weeks to 2.8 years
Nearly every release is documented
notes for 24 of 24 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
24 releases · first in 2021
Drag across the ruler to compare, or tap a release to open it.
Linux: Fix getAllCookies never completing when called before a page has loaded. It now returns an empty list.
Add addJavaScriptMessageHandler, whose JavaScriptMessage carries the page's data, origin and url. url is the sending page's current URL, including his
addJavaScriptMessageHandler, whose JavaScriptMessage carries the page's data, origin and url. url is the sending page's current URL, including history.pushState changes, so handlers no longer need navigationState.url, which may lag behind. It is null unless it belongs to origin.targetOrigin to postMessage. As with window.postMessage, the receiving page drops the message before any listener runs unless its own origin matches, so a reply never reaches a page the window navigated to in the meantime. Page scripts cannot read a targeted message before the check on any platform.Your coding agent can read these notes before it upgrades. Set up the MCP server →
macOS: Remove the deprecated Java applet setting and its build warning.
Browser windows are now fully native, and one browser API works the same way on macOS, Windows and Linux. See Migrating to 0.4.0.
runWebViewTitleBarWidget startup hook and the title bar widget; TitleBarWebViewController, TitleBarWebViewState, titleBarHeight and titleBarTopPadding are removed. Use the default native title bar, configured with TitleBarOptions, or a native composer. (#518)window.desktopWebview.postMessage(name, data) and window.desktopWebview.addEventListener(name, listener); Dart uses addJavaScriptHandler, removeJavaScriptHandler and postMessage. registerJavaScriptMessageHandler, unregisterJavaScriptMessageHandler, postWebMessageAsString, postWebMessageAsJson and addOnWebMessageReceivedCallback are removed, and messages posted to window.webkit.messageHandlers.<name> or chrome.webview are no longer forwarded. (#518)(Object? data, String origin). Check it before a handler acts for a trusted page; messages from iframes are dropped. (#533)moveWebviewWindow, setWebviewWindowVisibility, bringToForeground and getPositionalParameters. Use nativeWindowHandle with a window library. (#518)isNavigating and setOnHistoryChangedCallback with navigationState. (#518)WindowsWebviewOptions: use CreateConfiguration(windows: ...) and clearAll(windows: ...) instead of userDataFolderWindows and denyCameraAndMicrophone. (#518)evaluateJavaScript returns the decoded result as Future<Object?> instead of a JSON string. launch, close, setBrightness, setOnUrlRequestCallback, addScriptToExecuteOnDocumentCreated and openDevToolsWindow return futures and report native errors. (#518)UnsupportedError instead of doing nothing, for example setBrightness on Linux and setPromptHandler outside macOS. (#518)TitleBarOptions chooses its items per window, and a native composer installed by the runner can replace the layout. (#518)navigationState, a ValueListenable with canGoBack, canGoForward, isLoading, url and title. (#518)onLoadError, which reports top-level pages that fail to load with the URL, a WebviewLoadErrorKind (hostLookup, connection, timeout, certificate, other) and the platform's description. (#534)nativeWindowHandle, the browser's HWND, NSWindow* or GtkWindow*, for showing, focusing or moving the window with other libraries. (#518)setOnUrlRequestCallback can cancel navigations on every platform, and links to schemes the WebView cannot load, such as mailto:, reach it. (#518)alert and confirm dialogs and the system file chooser, ask where to save downloads, and load links that open a new window in the same window, on every platform. (#518)CreateConfiguration(brightness:), which applies before the window is shown, and support setBrightness on Windows. (#518)getAllCookies reports expires, secure, httpOnly and sessionOnly. (#518)WebView2Loader.dll. The first build after flutter clean needs access to api.nuget.org. (#532)Windows: Preserve the original HTTP method, POST body, and headers when setOnUrlRequestCallback approves navigation. (#519; thanks FrankenApps)
setOnUrlRequestCallback approves navigation. (#519; thanks FrankenApps)Add Windows openHidden and denyCameraAndMicrophone options, and fix blank pages when approving navigation requests #508 by mtallenca
openHidden and denyCameraAndMicrophone options, and fix blank pages when approving navigation requests #508
by mtallencarunWebViewTitleBarWidget is not called #511
by FrankenAppstitleBarHeight is zero #515
by matsukiender-starUse deprecated WebKitGTK functions only on versions older than 2.40 #334 by prateekmedia
BREAKING CHANGES
Require Dart 3.5 or later.
Require macOS 10.13 or later for the macOS plugin.
Change OnUrlRequestCallback to return a bool so navigation requests can be allowed or blocked.
Replace addOnUrlRequestCallback and removeOnUrlRequestCallback with setOnUrlRequestCallback.
Remove the onError parameter from runWebViewTitleBarWidget.
Add maximized parameter to bringToForeground #282
by Iri-Hor
Add Linux support for registerJavaScriptMessageHandler and unregisterJavaScriptMessageHandler #452
by Carapacik
Add backward compatibility with webkit2gtk-4.0 on Linux #311 by prateekmedia
Use deprecated WebKitGTK functions only on versions older than 2.40 #334 by prateekmedia
Add WebView window safety fixes for Windows and macOS #451 by paulanatoleclaudot-betclic
Update README #313 by tanvirulislam
Full Changelog: https://github.com/MixinNetwork/flutter-plugins/compare/desktop_webview_window-v0.2.2...desktop_webview_window-v0.2.3
Full Changelog: https://github.com/MixinNetwork/flutter-plugins/compare/desktop_webview_window-v0.2.2...desktop_webview_window-v0.2.3
[desktop-webview-window] Show and Hide Webview window by @Iri-Hor in https://github.com/MixinNetwork/flutter-plugins/pull/268
Full Changelog: https://github.com/MixinNetwork/flutter-plugins/compare/desktop_webview_window-v0.2.1...desktop_webview_window-v0.2.2
fix linux webkit2gtk some function deprecated error by @zhangzqs in https://github.com/MixinNetwork/flutter-plugins/pull/246
Full Changelog: https://github.com/MixinNetwork/flutter-plugins/compare/desktop_webview_window-v0.2.0...desktop_webview_window-v0.2.1
BREAK CHANGE: bump linux webkit2gtk version to 4.1
fix WebView render area wrong offset on Windows.
add onUrlRequest event for WebView.
close method for WebView.onUrlRequest event for WebView.support custom userDataFolder on Windows.
Remove windows addition import requirements.
Remove windows addition import requirements.
fix TitleBar reload do not work.
fix TitleBar reload do not work.
fix window title not show on macOS
fix window title not show on macOS
NOTE: contains break change. more details see readme.
support custom titlebar.
NOTE: contains break change. more details see readme.
support isWebviewAvailable check.
isWebviewAvailable check.clearAll crash on Linux if no webview created.fix swift definition conflict on macOS. flutter-plugins#17
fix swift definition conflict on macOS. flutter-plugins#17
add setApplicationNameForUserAgent for append application name to webview user agent.
add setApplicationNameForUserAgent for append application name to webview user agent.
implement addScriptToExecuteOnDocumentCreated on macOS.
addScriptToExecuteOnDocumentCreated on macOS.command + w to close window.fix linux build
fix linux build
rename project to desktop_webview_window
add Windows, Linux, macOS support.
One column per quarter.