A Flutter plugin that allows you to add an inline webview, to use an headless webview, and to open an in-app browser window.
Migrating from version 5.x.x
is easy! Follow the online Migration guide.
- Official documentation: inappwebview.dev/docs
- Read the online API Reference to get the full API documentation.
- Official blog: inappwebview.dev/blog
- Find open source projects on the Official Showcase page: inappwebview.dev/showcase
- Check the example/integration_test/webview_flutter_test.dart file for other code examples
- Flutter Browser App: A Full-Featured Mobile Browser App (such as the Google Chrome mobile browser) created using Flutter and the features offered by the flutter_inappwebview plugin
Check the Showcase page to see an open list of Apps built with Flutter and Flutter InAppWebView.
Send a submission request to the Submit App page!
- Dart sdk: ">=2.14.0 <3.0.0"
- Flutter: ">=2.5.0"
- Android:
minSdkVersion 19
and add support forandroidx
(see AndroidX Migration to migrate an existing app) - iOS 9.0+:
--ios-language swift
, Xcode version>= 12
Add flutter_inappwebview
as a dependency in your pubspec.yaml file.
To make it work properly on the Web platform, you need to add the web_support.js
file inside the <head>
of your web/index.html
file:
<head>
<!-- ... -->
<script type="application/javascript" src="/assets/packages/flutter_inappwebview/assets/web/web_support.js" defer></script>
<!-- ... -->
</head>
Did you find this plugin useful? Please consider to make a donation to help improve it!
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!