Flutter plugin for inline webviews, headless webviews and in-app browser windows
open sourceApache-2.0free
flutter_inappwebview is a Flutter plugin for showing web content in an app: an inline webview widget, a headless webview that runs without being shown, and in-app browser windows. It wraps each platform's own webview (Android's WebView, WKWebView on iOS and macOS, WebView2 on Windows, WPE WebKit on Linux, plus the web), and adds a cookie manager, debugging tools and the Chrome DevTools Protocol. Its documentation and showcase are at inappwebview.dev.
Problems it solves
- show a web page inside my Flutter app with more control than webview_flutter
- run JavaScript in a hidden webview from Flutter
- open an in-app browser window from a Flutter app on Android and iOS
Features
- Inline webview widget
- Headless webview that runs without a visible view
- In-app browser windows
- Cookie manager
- Chrome DevTools Protocol access and webview debugging
- Native webviews on each platform: Android WebView, WKWebView, WebView2, WPE WebKit
Limitations
- A webview isn't a full browser: features and behaviour differ between platforms' native webviews1
Alternatives
The same job
These do what flutter_inappwebview does.
- webview_flutter Flutter plugin that shows web pages in a WebView widget
- flutter_local_notifications Cross-platform Flutter plugin for displaying and scheduling local notifications
- url_launcher Flutter plugin for opening URLs, phone numbers, SMS and email links
- open_file Flutter plugin that opens a file in the device's native app
- Flutter Packages Flutter's first-party packages and plugins, maintained by the Flutter team
- file_picker Native file picker for Flutter apps