JavascriptMode.unrestricted
in order to set zoomEnabled: false
.runJavascript
and runJavascriptForResult
to supersede evaluateJavascript
.evaluateJavascript
._CastError
that was thrown when running the example App.onWebResourceError
is now only called for the main
page.uiMode
, so the WebView isn't reattached when the UI mode changes. (e.g. switching to Dark mode).allowsInlineMediaPlayback
is not respected on iOS.evaluateJavascript
.onWebResourceError
on iOS.allowsInlineMediaPlayback
property.deprecated_member_use
warning in the example app for ScaffoldMessenger.showSnackBar
.WebViewPlatformCreatedCallback
.Bumped the minimal Flutter SDK to 1.22 where platform views are out of developer preview, and
performing better on iOS. Flutter 1.22 no longer requires adding the
io.flutter.embedded_views_preview
flag to Info.plist
.
Added support for Hybrid Composition on Android (see opt-in instructions in README)
setAndGetScrollPosition
to use hard coded values and add a pumpAndSettle
call.WebView.onWebResourceError
.getFlutterEngine
call on Android.author:
field from pubspec.yaml1d4d63a
) for text input to work properly on all Android
versions.userAgent
property to set a custom User Agent.@available
block.androidx.annotation:annotation:1.0.0
.TextInput
and WebView text fields.TextInput
fields is still pending. This basic
support currently only works with Flutter master
. The keyboard will still
appear when it previously did not when run with older versions of Flutter. But
if the WebView is resized while showing the keyboard the text field will need
to be focused multiple times for any input to be registered.invokeMethod
calls.debuggingEnabled
property.headers
field to the controller.javascriptChannels
.StatefulWidget
.NavigationDelegate
on later versions of Android.JavaScriptMode
enum to JavascriptMode
, and the WebView javasScriptMode
parameter to javascriptMode
.currentUrl
accessor for the WebView controller to look up what URL
is being displayed.