explaingit

pichillilorenzo/flutter_inappwebview

Analysis updated 2026-07-03

3,724DartAudience · developerComplexity · 3/5Setup · moderate

TLDR

A Flutter plugin that embeds a full web browser inside your app, letting you show web pages inline, run hidden background browsers, or pop up styled in-app browser windows across Android, iOS, macOS, Windows, and Linux.

Mindmap

mindmap
  root((flutter_inappwebview))
    What it does
      Embed web browser
      In-app browser popup
      Headless webview
    Platforms
      Android and iOS
      macOS and Windows
      Linux and Web
    Use Cases
      Show web content
      Background processing
      Custom browser UI
    Audience
      Flutter developers
      Cross-platform teams
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Show a web-based payment form or dashboard inside your Flutter app without sending users to a separate browser.

USE CASE 2

Run a hidden background browser to load and process web content or execute JavaScript without displaying anything to the user.

USE CASE 3

Build a custom in-app browser with your own toolbar and navigation controls that stays inside your app's visual design.

USE CASE 4

Display a third-party web portal or help center inside your mobile app using a WebView with custom request interception.

What is it built with?

DartFlutterAndroidiOSmacOSWindowsLinux

How does it compare?

pichillilorenzo/flutter_inappwebviewlukepighetti/fluroroughike/inkino
Stars3,7243,7143,679
LanguageDartDartDart
Setup difficultymoderateeasymoderate
Complexity3/52/53/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Windows setup requires NuGet CLI to be available, each platform has separate configuration steps in pubspec.yaml and native project files.

In plain English

Flutter InAppWebView is a plugin for Flutter apps that lets you embed a web browser directly inside your app. Flutter is a toolkit for building cross-platform apps from a single codebase, and this plugin fills a common gap: showing web content without sending the user to a separate browser app. You can display a web page inline inside your app's screen, run a hidden background browser (called a headless webview) for processing web content the user never sees, or pop open a styled in-app browser window that stays inside your app's chrome. The plugin works across a wide range of platforms. Android and iOS are the primary targets, but it also supports macOS desktops, Windows, Linux, and Flutter's web target. Each platform has its own underlying browser engine, and the plugin wraps them all behind a consistent API so your Flutter code stays the same regardless of where the app runs. On Android it requires a minimum API level of 19 (Android 4.4 KitKat or later), on iOS it needs version 12 or later, and on Windows it requires a NuGet CLI tool to be available during setup. To use it, you add flutter_inappwebview as a dependency in your project's pubspec.yaml file, then follow platform-specific setup steps for whichever targets you need. The official documentation site at inappwebview.dev covers install steps, configuration options, and API details. The repository also includes example code and a separate demo browser app that replicates a full-featured mobile browser using the plugin. Over 100 contributors have worked on the project. It is open source and the maintainer funds ongoing development partly through donations. A showcase page lists real published apps that use the plugin, ranging from small personal projects to more substantial consumer products. This is not a beginner library in the sense that it assumes you already have a Flutter project and some familiarity with how Flutter packages work. But within that context, it covers one of the most-requested Flutter capabilities in a thorough, well-documented way. The full README is longer than what was shown.

Copy-paste prompts

Prompt 1
I have a Flutter app and want to show a website inside a screen. Show me how to add flutter_inappwebview and render a URL in an InAppWebView widget with custom user-agent and JavaScript enabled.
Prompt 2
How do I use flutter_inappwebview's headless WebView to load a page, execute JavaScript on it, and return the result to my Dart code?
Prompt 3
Write Flutter code using flutter_inappwebview to intercept all HTTP requests made by a WebView and block ones matching a specific URL pattern.
Prompt 4
How do I open a styled in-app browser with custom toolbar color using flutter_inappwebview's ChromeSafariBrowser on iOS and InAppBrowser on Android?
Prompt 5
How do I set up flutter_inappwebview on Windows, including the NuGet CLI requirement, and what is the minimum version for each platform?

Frequently asked questions

What is flutter_inappwebview?

A Flutter plugin that embeds a full web browser inside your app, letting you show web pages inline, run hidden background browsers, or pop up styled in-app browser windows across Android, iOS, macOS, Windows, and Linux.

What language is flutter_inappwebview written in?

Mainly Dart. The stack also includes Dart, Flutter, Android.

How hard is flutter_inappwebview to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is flutter_inappwebview for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Scan in gitsafehub Deploy in gitdeployhub pichillilorenzo on gitmyhub

Verify against the repo before relying on details.