WebView for Flutter (Developers Preview)
A Flutter plugin that provides a WebView widget.
Developers Preview Status
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
Keyboard support within webviews is also experimental. The above tags also
surface known issues with keyboard input. Some currently known keyboard issues,
- Keyboard persists after tapping outside text field
- WebView's text selection dialog is not responding to touch events
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.