NavigationAction class

An object that contains information about an action that causes navigation to occur.

Constructors

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.
getter/setter pair
androidIsRedirect bool?
Gets whether the request was a result of a server-side redirect.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
iosSourceFrame IOSWKFrameInfo?
The frame that requested the navigation.
getter/setter pair
iosTargetFrame IOSWKFrameInfo?
The frame in which to display the new content.
getter/setter pair
iosWKNavigationType IOSWKNavigationType?
The type of action triggering the navigation.
getter/setter pair
isForMainFrame bool
Indicates whether the request was made for the main frame.
getter/setter pair
request URLRequest
The URL request object associated with the navigation action.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toMap() Map<String, dynamic>
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) NavigationAction?