Skip to content
pubscout

flutter_inappwebview

6.1.5, released 2 years ago by inappwebview.dev

Add inline WebViews, headless WebViews, and in-app browser windows.

Quiet but busy
$ flutter pub add flutter_inappwebview
Source repository

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.

Works with

Packages commonly used together with flutter_inappwebview: ones it builds on, ones built on it, and its own family.