flutter_inappwebview
6.1.5, released 2 years ago by inappwebview.dev
Add inline WebViews, headless WebViews, and in-app browser windows.
What it does
Allows you to embed web content via inline webviews, run headless webviews, and open in-app browser windows across multiple platforms like Android, iOS, macOS, Windows, and Web. Supports advanced JavaScript communication, custom navigation handling, and permission requests.
AI-written summary of version 6.1.5, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to embed full-featured web content directly into your Flutter app views.
- You need an in-app browser experience with custom controls and event handling.
- You require cross-platform webview support including Windows and macOS.
Skip it when
- You only need to launch URLs externally in the device's default browser.
- You want a minimal official Flutter team plugin and prefer relying strictly on webview_flutter.
Strengths
- Supports multiple platforms including Android, iOS, macOS, Windows, and Web.
- Provides advanced features like headless webviews, cookie management, and JavaScript handlers.
- Extensive API and documentation for deep control over web view behavior.
Weaknesses
- Requires platform-specific setup and configuration steps for Android, iOS, macOS, and Windows.
- Heavy dependency tree with separate platform implementation packages.
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 6
Requires platform installation setup for Android, iOS, macOS, Windows, and Web, including minimum SDK versions and configuration in native files.
InAppWebView(
initialUrlRequest: URLRequest(url: WebUri("https://flutter.dev")),
)Alternatives
Packages that do the same job and could replace flutter_inappwebview.
- webview_flutter
If you want the official Flutter team maintained webview package with simpler default use cases.
87Compare
Works with
Packages commonly used together with flutter_inappwebview: ones it builds on, ones built on it, and its own family.
- flutter_inappwebview_windowsflutter_inappwebview depends on itWindows WebView2 implementation for the flutter_inappwebview plugin.
- cloudflare_turnstileBuilt on flutter_inappwebviewCloudflare Turnstile CAPTCHA alternative widget for Flutter applications.
- html_editor_enhancedBuilt on flutter_inappwebviewHTML rich text editor for Android, iOS, and Web using the Summernote library
- vimeo_video_playerBuilt on flutter_inappwebviewPlay Vimeo videos in Flutter using an InAppWebView.
- flutter_3d_controllerBuilt on flutter_inappwebviewRenders interactive 3D models in GLB, GLTF, OBJ, and FBX formats.
- omni_video_playerBuilt on flutter_inappwebviewA unified Flutter widget for playing videos from YouTube, Vimeo, network, and local files.
- tosspayments_widget_sdk_flutterBuilt on flutter_inappwebviewIntegrate Toss Payments widgets and payment flows into Flutter applications.
- flutter_paypal_paymentBuilt on flutter_inappwebviewIntegrate PayPal payments into your Flutter mobile, web, and desktop application.