Skip to content

A Flutter plugin that allows you to add an inline webview, to use a headless webview, and to open an in-app browser window.

License

Notifications You must be signed in to change notification settings

kryptogo/flutter_inappwebview

 
 

Repository files navigation

Flutter InAppWebView Plugin Share on Twitter Share on Facebook

InAppWebView-logo

All Contributors

Pub Pub Points Pub Popularity Pub Likes Awesome Flutter License

Donate to this project GitHub forks GitHub stars

A Flutter plugin that allows you to add an inline webview, to use an headless webview, and to open an in-app browser window.

New Version 6.x.x is OUT NOW!

Migrating from version 5.x.x is easy! Follow the online Migration guide.

Articles/Resources

Showcase - Who use it

Check the Showcase page to see an open list of Apps built with Flutter and Flutter InAppWebView.

Are you using the Flutter InAppWebView plugin and would you like to add your App there?

Send a submission request to the Submit App page!

Requirements

  • Dart sdk: ">=2.14.0 <3.0.0"
  • Flutter: ">=3.0.0"
  • Android: minSdkVersion 17 and add support for androidx (see AndroidX Migration to migrate an existing app)
  • iOS: --ios-language swift, Xcode version >= 14

Installation

Add flutter_inappwebview as a dependency in your pubspec.yaml file.

Main Classes Overview

  • InAppWebView: Flutter Widget for adding an inline native WebView integrated into the flutter widget tree.
  • ContextMenu: This class represents the WebView context menu.
  • HeadlessInAppWebView: Class that represents a WebView in headless mode. It can be used to run a WebView in background without attaching an InAppWebView to the widget tree.
  • InAppBrowser: In-App Browser using native WebView.
  • ChromeSafariBrowser: In-App Browser using Chrome Custom Tabs on Android / SFSafariViewController on iOS.
  • InAppLocalhostServer: This class allows you to create a simple server on http://localhost:[port]/. The default port value is 8080.
  • CookieManager: This class implements a singleton object (shared instance) which manages the cookies used by WebView instances.
  • HttpAuthCredentialDatabase: This class implements a singleton object (shared instance) that manages the shared HTTP auth credentials cache.
  • WebStorageManager: This class implements a singleton object (shared instance) which manages the web storage used by WebView instances.

Support

Did you find this plugin useful? Please consider to make a donation to help improve it!

Contributors ✨

Thanks goes to these wonderful people (emoji key):

Alex Li
Alex Li

💻
1/2
1/2

💻
Christofer Bodin
Christofer Bodin

💻
Matthew Lloyd
Matthew Lloyd

💻
C E
C E

💻
Robson Araujo
Robson Araujo

💻
Ryan
Ryan

💻
CodeEagle
CodeEagle

💻
Tanay Neotia
Tanay Neotia

💻
Jamie Joost
Jamie Joost

💻
Matias de Andrea
Matias de Andrea

💻
YouCii
YouCii

💻
Salnikov Sergey
Salnikov Sergey

💻
Po-Jui Chen
Po-Jui Chen

💻
Manuito
Manuito

💻
setcy
setcy

💻
EArminjon
EArminjon

💻
Ashank Bharati
Ashank Bharati

💻
Michael Chow
Michael Chow

💻
Osvaldo Saez
Osvaldo Saez

💻
rsydor
rsydor

💻
Le Minh Hoang
Le Minh Hoang

💻
Michael Kao
Michael Kao

💻
cloudygeek
cloudygeek

💻
Christoph Eck
Christoph Eck

💻
Ser1ous
Ser1ous

💻
Caleb Jones
Caleb Jones

💻
Saverio Murgia
Saverio Murgia

💻
Trần Đức Tâm
Trần Đức Tâm

💻
Joker
Joker

💻
Yash Chandra Verma
Yash Chandra Verma

💻
Arne Kepp
Arne Kepp

💻
Ömral Cörüt
Ömral Cörüt

💻
LrdHelmchen
LrdHelmchen

💻
Steven Gunanto
Steven Gunanto

💻
Michael Rittmeister
Michael Rittmeister

💻
Akira Aratani
Akira Aratani

💻
Doflatango
Doflatango

💻
Edmund Tay
Edmund Tay

💻
Andrei Diaconu
Andrei Diaconu

💻
Daniel Kao
Daniel Kao

💻
xuty
xuty

💻
Ben Bieker
Ben Bieker

💻
Phạm Như Vũ
Phạm Như Vũ

💻
SebastienBtr
SebastienBtr

💻
NeZha
NeZha

💻
Jan Klinge
Jan Klinge

💻
PauloDurrerMelo
PauloDurrerMelo

💻
benmeemo
benmeemo

💻
cinos
cinos

💻
Rex Raphael
Rex Raphael

💻
Jan Henrik Høiland
Jan Henrik Høiland

💻
Iguchi Tomokatsu
Iguchi Tomokatsu

💻
Jonas Uekötter
Jonas Uekötter

📖
emakar
emakar

💻
liasica
liasica

💻
Eiichiro Adachi
Eiichiro Adachi

💻
Kamil Powałowski
Kamil Powałowski

💻
Akio Yamamoto
Akio Yamamoto

💻
mohenaxiba
mohenaxiba

💻
Ben Anderson
Ben Anderson

💻
Daan Poron
Daan Poron

🛡️
ふぁ
ふぁ

💻
perffecto
perffecto

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

About

A Flutter plugin that allows you to add an inline webview, to use a headless webview, and to open an in-app browser window.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dart 47.2%
  • Java 26.6%
  • Swift 20.4%
  • HTML 4.9%
  • JavaScript 0.3%
  • CSS 0.2%
  • Other 0.4%