abandoft/webview_all
Webview for All Flutter Platform
- Stars
- 58
- Forks
- 23
- Last push (UTC)
- Sep 1, 2026
- Project status
- Active
LanguagesDartSwiftC++KotlinJavaCMakePythonCShellTypeScriptHTMLRubyObjective-C
Technical topics
Original README
English project snapshot. Visit GitHub for the latest content.
Expand / collapse project README
WebView All
A WebView component for all Flutter platforms, compatible with the webview_flutter API.
| Platform | Support | Implementation |
|---|---|---|
| Android | API 24+ | WebView |
| iOS | 13.0+ | WKWebView |
| macOS | 10.15+ | WKWebView |
| Windows | Win10 1809+ | WebView2 |
| Linux | webkit2gtk-4.1 | WebKitGTK |
| OHOS | API 12+ | ArkWeb |
| Web | Any | js-interop |
Features
- Comprehensive support for all platforms
- Full compatibility with the
webview_flutterAPI - Additional features:
- Promise-aware JavaScript calls
- Document-start user scripts
- Website data cleanup without a controller
- Deterministically closable offscreen sessions
- ......
Quick Start
- Instantiate a
WebViewController:
controller = WebViewController()
..setJavaScriptMode(JavaScriptMode.unrestricted)
..loadRequest(Uri.parse('https://flutter.dev'));
- Pass
controllertoWebViewWidget:
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(title: const Text('Flutter Simple Example')),
body: WebViewWidget(controller: controller),
);
}
For detailed usage, API coverage, and platform limits, see the Documentation.