NavigationAction class Null safety

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




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


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


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

Static Methods

fromMap(Map<String, dynamic>? map) NavigationAction?