RouteInfo class

Constructors

RouteInfo({Route? routeWhenAdded})

Properties

hashCode int
The hash code for this object.
no setterinherited
routeWhenAdded Route?
The current route when the interceptor was added through the BackButtonInterceptor.add() method.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

currentRoute(BuildContext context) Route?
ifRouteChanged(BuildContext context) bool
This method can only be called if the context parameter was passed to the BackButtonInterceptor.add() method.
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