WebView class abstract

Abstract class that represents a WebView. Used by InAppWebView and HeadlessInAppWebView.

Implementers

Constructors

WebView({int? windowId, void onWebViewCreated(InlineWebViewMacOsController controller)?, URLRequest? initialUrlRequest, void onLoadStart(InlineWebViewMacOsController controller, Uri? url)?, void onLoadStop(InlineWebViewMacOsController controller, Uri? url)?, void onLoadError(InlineWebViewMacOsController controller, Uri? url, int code, String message)?, void onLoadHttpError(InlineWebViewMacOsController controller, Uri? url, int statusCode, String description)?})

Properties

hashCode int
The hash code for this object.
no setterinherited
initialUrlRequest URLRequest?
Initial url request that will be loaded.
final
onLoadError → void Function(InlineWebViewMacOsController controller, Uri? url, int code, String message)?
final
onLoadHttpError → void Function(InlineWebViewMacOsController controller, Uri? url, int statusCode, String description)?
final
onLoadStart → void Function(InlineWebViewMacOsController controller, Uri? url)?
Event fired when the WebView starts to load an url.
final
onLoadStop → void Function(InlineWebViewMacOsController controller, Uri? url)?
Event fired when the WebView finishes loading an url.
final
onWebViewCreated → void Function(InlineWebViewMacOsController controller)?
Event fired when the WebView is created.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
windowId int?
The window id of a CreateWindowAction.windowId.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited