webview_flutter_platform_interface library

Classes

CreationParams
Configuration to use when creating a new WebViewPlatformController.
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.
MethodChannelWebViewPlatform
A WebViewPlatformController that uses a method channel to control the webview.
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.
WebViewCookie
A cookie that can be set globally for all web views using WebViewCookieManagerPlatform.
WebViewCookieManagerPlatform
Interface for a platform implementation of a cookie manager.
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.

Enums

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

Extensions

WebViewRequestMethodExtensions on WebViewRequestMethod
Extension methods on the WebViewRequestMethod enum.

Typedefs

JavascriptMessageHandler = void Function(JavascriptMessage message)
Callback type for handling messages sent from JavaScript running in a web view.
WebViewPlatformCreatedCallback = void Function(WebViewPlatformController? webViewPlatformController)
Signature for callbacks reporting that a WebViewPlatformController was created.