webview_flutter library

Classes

AndroidWebView
Builds an Android webview.
CookieManager
Manages cookies pertaining to all WebViews.
CreationParams
Configuration to use when creating a new WebViewPlatformController.
CupertinoWebView
Builds an iOS webview.
JavascriptChannel
A named channel for receiving messaged from JavaScript code running inside a web view.
JavascriptChannelRegistry
Utility class for managing named JavaScript channels and forwarding incoming messages on the correct channel.
JavascriptMessage
A message that was sent by JavaScript code running in a WebView.
Information about a navigation action that is about to be executed.
SurfaceAndroidWebView
Android WebViewPlatform that uses AndroidViewSurface to build the WebView widget.
WebResourceError
Error returned in WebView.onWebResourceError when a web resource loading error has occurred.
WebSetting<T>
A single setting for configuring a WebViewPlatform which may be absent.
WebSettings
Settings for configuring a WebViewPlatform.
WebView
A web view widget for showing html content.
WebViewController
Controls a WebView.
WebViewCookie
A cookie that can be set globally for all web views using WebViewCookieManagerPlatform.
WebViewPlatform
Interface for a platform implementation of a WebView.
WebViewPlatformCallbacksHandler
Interface for callbacks made by WebViewPlatformController.
WebViewPlatformController
Interface for talking to the webview's platform implementation.
WebViewRequest
Defines the parameters that can be used to load a page in the WebView.
WKWebViewCookieManager
Handles all cookie operations for the current platform.

Enums

AutoMediaPlaybackPolicy
Specifies possible restrictions on automatic media playback.
JavascriptMode
Describes the state of JavaScript support in a given web view.
A decision on how to handle a navigation request.
WebResourceErrorType
Possible error type categorizations used by WebResourceError.
WebViewRequestMethod
Defines the supported HTTP methods for loading a page in WebView.

Typedefs

JavascriptMessageHandler = void Function(JavascriptMessage message)
Callback type for handling messages sent from JavaScript running in a web view.
Decides how to handle a specific navigation request.
PageFinishedCallback = void Function(String url)
Signature for when a WebView has finished loading a page.
PageLoadingCallback = void Function(int progress)
Signature for when a WebView is loading a page.
PageStartedCallback = void Function(String url)
Signature for when a WebView has started loading a page.
WebResourceErrorCallback = void Function(WebResourceError error)
Signature for when a WebView has failed to load a resource.
WebViewCreatedCallback = void Function(WebViewController controller)
Optional callback invoked when a web view is first created. controller is the WebViewController for the created web view.
WebViewPlatformCreatedCallback = void Function(WebViewPlatformController? webViewPlatformController)
Signature for callbacks reporting that a WebViewPlatformController was created.