webview_all 1.3.10 copy "webview_all: ^1.3.10" to clipboard
webview_all: ^1.3.10 copied to clipboard

A WebView plugin supporting Android, iOS, macOS, Windows, Linux, Web, and OpenHarmony, with an API compatible with webview_flutter.

WebView All #

Documentation | 中文文档

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

Quick Start #

  1. Instantiate a WebViewController:
controller = WebViewController()
  ..setJavaScriptMode(JavaScriptMode.unrestricted)
  ..loadRequest(Uri.parse('https://flutter.dev'));
  1. Pass controller to WebViewWidget:
@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.

The latest API also supports Promise-aware JavaScript calls, document-start user scripts, controller-independent website-data cleanup, and deterministically closable offscreen sessions on supported native platforms.