platform_interface library

Re-export the classes from the webview_flutter_platform_interface through the platform_interface.dart file so we don't accidentally break any non-endorsed existing implementations of the interface.

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.
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.
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.

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.