⚠️ 此代码仓已归档。新地址请访问 flutter_inappwebview。| ⚠️ This repository has been archived. For the new address, please visit flutter_inappwebview.
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.
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!
minSdkVersion >= 19
, compileSdk >= 34
, AGP version >= 7.3.0
(use Android Studio - Android Gradle plugin Upgrade Assistant for help), support for androidx
(see AndroidX Migration to migrate an existing app)--ios-language swift
, Xcode version >= 14.3
>= 14.3
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_web/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!
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。