Flutter InAppWebView FX

flutter_inappwebview_fx is a maintained pub.dev package for embedding an inline WebView, running a headless WebView, and opening an in-app browser — updated for current Flutter/Dart, including Swift Package Manager-ready iOS/macOS platform deps, and without the upstream debug donation console banner.

This package is based on flutter_inappwebview (Apache-2.0) by Lorenzo Pichilli. The original name is taken on pub.dev, so this fork is published as flutter_inappwebview_fx.

Why this package

  • Works with Flutter ≥ 3.32 / Dart ≥ 3.8 (tested on Flutter 3.47 / Dart 3.13)
  • Pulls platform implementations that include Swift Package Manager support (avoids the flutter_inappwebview_ios SPM warning on modern Flutter)
  • Keeps the familiar public API (InAppWebView, HeadlessInAppWebView, InAppBrowser, ChromeSafariBrowser, cookie manager, etc.)
  • Adds Linux support via upstream platform packages

Requirements

  • Dart SDK: ^3.8.0
  • Flutter: >=3.32.0
  • Android: minSdkVersion >= 19, AGP >= 7.3.0
  • iOS 12.0+, Xcode >= 15.0 (SPM-capable platform package)
  • macOS 10.14+, Xcode >= 15.0
  • Windows: NuGet CLI on PATH
  • Linux: WPE 2.0 WebKit

Installation

dependencies:
  flutter_inappwebview_fx: ^6.2.0-beta.4
import 'package:flutter_inappwebview_fx/flutter_inappwebview.dart';

Migration from flutter_inappwebview: only the package/import name changes. Widget and class names stay the same.

Quick example

import 'package:flutter/material.dart';
import 'package:flutter_inappwebview_fx/flutter_inappwebview.dart';

class SimpleWebView extends StatelessWidget {
  const SimpleWebView({super.key});

  @override
  Widget build(BuildContext context) {
    return InAppWebView(
      initialUrlRequest: URLRequest(url: WebUri('https://flutter.dev')),
    );
  }
}

Supported platforms

Android · iOS · macOS · Windows · Linux · Web (via endorsed federated implementations)

Docs & upstream

License

Apache License 2.0 — see LICENSE. Copyright remains with the original authors; this package is an independently published fork for pub.dev naming and Flutter currency.