webview_flutter_platform_interface library

Classes

HttpAuthRequest
Defines the parameters of a pending HTTP authentication request received by the webview through a HttpAuthRequestCallback.
HttpResponseError
Error returned in PlatformNavigationDelegate.setOnHttpError when an HTTP response error has been received.
JavaScriptAlertDialogRequest
Defines the parameters that support PlatformWebViewController.setOnJavaScriptAlertDialog.
JavaScriptChannelParams
Describes the parameters necessary for registering a JavaScript channel.
JavaScriptConfirmDialogRequest
Defines the parameters that support PlatformWebViewController.setOnJavaScriptConfirmDialog.
JavaScriptConsoleMessage
Represents a console message written to the JavaScript console.
JavaScriptMessage
A message that was sent by JavaScript code running in a WebView.
JavaScriptTextInputDialogRequest
Defines the parameters that support PlatformWebViewController.setOnJavaScriptTextInputDialog.
LoadRequestParams
Defines the parameters that can be used to load a page with the PlatformWebViewController.
Defines the parameters of the pending navigation callback.
PlatformNavigationDelegate
An interface defining navigation events that occur on the native platform.
PlatformNavigationDelegateCreationParams
Object specifying creation parameters for creating a PlatformNavigationDelegate.
PlatformWebViewController
Interface for a platform implementation of a web view controller.
PlatformWebViewControllerCreationParams
Object specifying creation parameters for creating a PlatformWebViewController.
PlatformWebViewCookieManager
Interface for a platform implementation of a cookie manager.
PlatformWebViewCookieManagerCreationParams
Object specifying creation parameters for creating a PlatformWebViewCookieManager.
PlatformWebViewPermissionRequest
Permissions request when web content requests access to protected resources.
PlatformWebViewWidget
Interface for a platform implementation of a web view widget.
PlatformWebViewWidgetCreationParams
Object specifying creation parameters for creating a WebViewWidgetDelegate.
ScrollPositionChange
Defines the parameters of the scroll position change callback.
UrlChange
Details of the change to a web view's url.
WebResourceError
Error returned in WebView.onWebResourceError when a web resource loading error has occurred.
WebViewCookie
A cookie that can be set globally for all web views using WebViewCookieManagerPlatform.
WebViewCredential
Defines the response parameters of a pending HttpAuthRequest received by the webview.
WebViewPermissionResourceType
Types of resources that can require permissions.
WebViewPlatform
Interface for a platform implementation of a WebView.

Enums

JavaScriptLogLevel
Represents the severity of a JavaScript log message.
JavaScriptMode
Describes the state of JavaScript support in a given web view.
LoadRequestMethod
Defines the supported HTTP methods for loading a page in PlatformWebViewController.
A decision on how to handle a navigation request.
WebResourceErrorType
Possible error type categorizations used by WebResourceError.

Extensions

LoadRequestMethodExtensions on LoadRequestMethod
Extension methods on the LoadRequestMethod enum.

Typedefs

HttpAuthRequestCallback = void Function(HttpAuthRequest request)
Signature for callbacks that notify the host application of an authentication request.
HttpResponseErrorCallback = void Function(HttpResponseError error)
Signature for callbacks that report http errors during loading a page.
Signature for callbacks that report a pending navigation request.
PageEventCallback = void Function(String url)
Signature for callbacks that report page events triggered by the native web view.
ProgressCallback = void Function(int progress)
Signature for callbacks that report loading progress of a page.
UrlChangeCallback = void Function(UrlChange change)
Signature for callbacks that notify the host application of a change to the url of the web view.
WebResourceErrorCallback = void Function(WebResourceError error)
Signature for callbacks that report a resource loading error.