CreateWindowAction class Null safety

Class that represents the navigation request used by the WebView.onCreateWindow event.

Inheritance

Constructors

CreateWindowAction({required int windowId, bool? androidIsDialog, IOSWKWindowFeatures? iosWindowFeatures, required URLRequest request, required bool isForMainFrame, bool? androidHasGesture, bool? androidIsRedirect, IOSWKNavigationType? iosWKNavigationType, IOSWKFrameInfo? iosSourceFrame, IOSWKFrameInfo? iosTargetFrame})

Properties

androidHasGesture bool?
Gets whether a gesture (such as a click) was associated with the request. For security reasons in certain situations this method may return false even though the sequence of events which caused the request to be created was initiated by a user gesture. [...]
read / write, inherited
androidIsDialog bool?
Indicates if the new window should be a dialog, rather than a full-size window. [...]
read / write
androidIsRedirect bool?
Gets whether the request was a result of a server-side redirect. [...]
read / write, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
iosSourceFrame IOSWKFrameInfo?
The frame that requested the navigation. [...]
read / write, inherited
iosTargetFrame IOSWKFrameInfo?
The frame in which to display the new content. [...]
read / write, inherited
iosWindowFeatures IOSWKWindowFeatures?
Window features requested by the webpage. [...]
read / write
iosWKNavigationType IOSWKNavigationType?
The type of action triggering the navigation. [...]
read / write, inherited
isForMainFrame bool
Indicates whether the request was made for the main frame. [...]
read / write, inherited
request URLRequest
The URL request object associated with the navigation action. [...]
read / write, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
windowId int
The window id. Used by WebView to create a new WebView.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
inherited
toMap() Map<String, dynamic>
override
toString() String
A string representation of this object. [...]
override

Operators

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

Static Methods

fromMap(Map<String, dynamic>? map) CreateWindowAction?
override