flutter_inappwebview_windows
0.6.0, released 2 years ago by inappwebview.dev
Windows WebView2 implementation for the flutter_inappwebview plugin.
What it does
Provides the Windows platform implementation of flutter_inappwebview using Microsoft WebView2. Exposes WebView2 features such as request interception, incognito mode, and multi‑window support through the same API as other platforms.
AI-written summary of version 0.6.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need an in‑app webview on Windows with advanced features like request interception or incognito mode
- You are already using flutter_inappwebview and want the Windows implementation automatically included
Skip it when
- You only target non‑Windows platforms
- You prefer a simpler webview without the extra flutter_inappwebview API
Strengths
- Native WebView2 performance and feature set
- Supports many WebView events (shouldInterceptRequest, onPermissionRequest, etc.)
- Works transparently with the federated flutter_inappwebview package
Weaknesses
- Windows‑only; no effect on other platforms
- Requires the WebView2 runtime to be installed on the target machine
- Documentation limited to README and changelog
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 1
Ensure the Microsoft WebView2 runtime is installed on the target Windows machine; no additional pubspec entry needed unless you import the package directly.
import 'package:flutter_inappwebview_windows/flutter_inappwebview_windows.dart';
InAppWebView(
initialUrlRequest: URLRequest(url: Uri.parse('https://flutter.dev')),
);Alternatives
Packages that do the same job and could replace flutter_inappwebview_windows.
- webview_flutter
A cross‑platform WebView plugin that works on Android, iOS, macOS, and Windows without needing a separate Windows‑specific package
87Compare
Works with
Packages commonly used together with flutter_inappwebview_windows: ones it builds on, ones built on it, and its own family.