NavigationAction class

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

Constructors

Properties

androidHasGesture bool?
Use hasGesture instead.
getter/setter pair
androidIsRedirect bool?
Use isRedirect instead.
getter/setter pair
hasGesture 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
hashCode int
The hash code for this object.
no setterinherited
iosSourceFrame IOSWKFrameInfo?
Use sourceFrame instead.
getter/setter pair
iosTargetFrame IOSWKFrameInfo?
Use targetFrame instead.
getter/setter pair
iosWKNavigationType IOSWKNavigationType?
Use navigationType instead.
getter/setter pair
isForMainFrame bool
Indicates whether the request was made for the main frame.
getter/setter pair
isRedirect bool?
Gets whether the request was a result of a server-side redirect.
getter/setter pair
The type of action triggering the navigation.
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
shouldPerformDownload bool?
A value indicating whether the web content used a download attribute to indicate that this should be downloaded.
getter/setter pair
sourceFrame FrameInfo?
The frame that requested the navigation.
getter/setter pair
targetFrame FrameInfo?
The frame in which to display the new content.
getter/setter pair

Methods

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