A Flutter plugin that provides a WebView widget.
The plugin relies on Flutter's new mechanism for embedding Android and iOS views. As that mechanism is currently in a developers preview, this plugin should also be considered a developers preview.
To use this plugin on iOS you need to opt-in for the embedded views preview by
adding a boolean property to the app's
Info.plist file, with the key
and the value
Opt-in to the embedded views preview by adding a boolean property to the app's
with the key
io.flutter.embedded_views_preview and the value
webview_flutter as a dependency in your pubspec.yaml file.
You can now include a WebView widget in your widget tree. See the WebView widget's Dartdoc for more details on how to use the widget.
headersfield to the controller.
NavigationDelegateon later versions of Android.
currentUrlaccessor for the WebView controller to look up what URL is being displayed.
Demonstrates how to use the webview_flutter plugin.
For help getting started with Flutter, view our online documentation.
Add this to your package's pubspec.yaml file:
dependencies: webview_flutter: ^0.3.6
You can install packages from the command line:
$ flutter packages get
Alternatively, your editor might support
flutter packages get.
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|0.3.6||Apr 22, 2019|
|0.3.5+4||Apr 18, 2019|
|0.3.5+3||Apr 2, 2019|
|0.3.5+2||Mar 22, 2019|
|0.3.5+1||Mar 22, 2019|
|0.3.5||Mar 19, 2019|
|0.3.4||Mar 9, 2019|
|0.3.3+2||Mar 9, 2019|
|0.3.3+1||Feb 15, 2019|
|0.3.3||Feb 13, 2019|
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
We analyzed this package on Apr 25, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Detected platforms: Flutter
References Flutter, and has no conflicting libraries.