Skip to content
pubscout

webview_all

1.5.2, released yesterday by abandoft.com

A cross-platform WebView plugin for Android, iOS, macOS, Windows, Linux, Web, and OpenHarmony.

WASM-ready
$ flutter pub add webview_all
Source repository

What it does

Provides a WebView component supporting Android, iOS, macOS, Windows, Linux, Web, and OpenHarmony with an API compatible with webview_flutter. It enables loading URLs, HTML strings, executing JavaScript, and handling downloads across multiple platforms.

AI-written summary of version 1.4.12, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need a WebView in a Flutter app targeting desktop and web in addition to mobile.
  • You want an API compatible with webview_flutter across all platforms.

Skip it when

  • You only need standard mobile platforms and prefer official platform-specific webview_flutter packages.
  • Your project does not require embedding web content inside the app.

Strengths

  • Comprehensive support for all major desktop, mobile, web, and OpenHarmony platforms.
  • API compatibility with webview_flutter.
  • Includes features like download controls, private sessions, and custom JavaScript injection.

Weaknesses

  • Relies on many underlying platform-specific sub-packages.
  • Platform-specific limits and behaviors apply as documented per target system.

Setup

Kind
Plugin (native code)
Effort
Low
Code generation
No
Direct dependencies
7

Instantiate WebViewController with JavaScript mode and load a request, then pass to WebViewWidget.

controller = WebViewController()
  ..setJavaScriptMode(JavaScriptMode.unrestricted)
  ..loadRequest(Uri.parse('https://flutter.dev'));

WebViewWidget(controller: controller)

Alternatives

Packages that do the same job and could replace webview_all.

  • webview_flutter

    If you only need official mobile support and prefer the standard package maintained by the Flutter team.