webview_flutter_android
4.14.1, released 3 months ago by flutter.dev
Android implementation of the webview_flutter plugin providing a WebView widget.
What it does
A Flutter plugin that provides a WebView widget specifically for Android. It supports features like Payment Request API, Web Authentication, geolocation prompts, and custom fullscreen video widgets.
AI-written summary of version 4.14.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to embed web content inside your Flutter application on Android.
- You need access to Android-specific webview configurations like WebAuthn or Payment Request API.
Skip it when
- You are building a cross-platform application where platform-specific Android API calls are unnecessary and you should use webview_flutter instead.
- You want a pure web app without native mobile wrappers.
Strengths
- Endorsed federated plugin which automatically integrates when using webview_flutter.
- Provides fine-grained Android-specific APIs such as Web Authentication and custom widget callbacks.
Weaknesses
- Platform-specific to Android, requiring other implementations for iOS or desktop.
- Performance trade-offs between Hybrid Composition and Texture Layer display modes.
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 2
Automatically included when using webview_flutter. Add intent filters in AndroidManifest.xml if using Payment Request features.
final bool paymentRequestEnabled = await androidController.isWebViewFeatureSupported(
WebViewFeatureType.paymentRequest,
);
if (paymentRequestEnabled) {
await androidController.setPaymentRequestEnabled(true);
}Alternatives
Packages that do the same job and could replace webview_flutter_android.
- webview_all
A cross-platform WebView plugin for Android, iOS, macOS, Windows, Linux, Web, and OpenHarmony.
87Compare - zikzak_inappwebview
A Flutter plugin providing inline WebView, headless WebView, and in-app browser features.
80Compare - webview_flutter_plus
Extension of webview_flutter to load local HTML, CSS, and JS from assets or strings via a local server.
79Compare - webview_win_floating
Desktop WebView plugin for Windows and Linux implementing the webview_flutter interface.
56Compare
Works with
Packages commonly used together with webview_flutter_android: ones it builds on, ones built on it, and its own family.
- webview_flutter_wkwebviewSame familyA Flutter plugin providing a WebView widget based on Apple's WKWebView control.
- webview_flutter_webSame familyWebView widget implementation for Flutter web.
- webview_flutterBuilt on webview_flutter_androidFlutter plugin that embeds a native WebView widget.
- google_mobile_adsBuilt on webview_flutter_androidFlutter plugin to show AdMob banner, interstitial, rewarded and native ads.
- fwfh_webviewBuilt on webview_flutter_androidWidgetFactory extension to render IFRAME elements using the official WebView plugin.
- youtube_player_iframeBuilt on webview_flutter_androidFlutter widget for embedding YouTube videos via the official iFrame API
- model_viewer_plusBuilt on webview_flutter_androidA Flutter widget for rendering interactive 3D models in glTF and GLB formats.
- webviewx_plusBuilt on webview_flutter_androidCross‑platform webview widget using webview_flutter for mobile and iframe for web with JS interop