TabRouteObserver class
Passes events from a child router up to the root. It's assumed that the root provider will not receive these events without this connector and that it should only report the url out to the navigator
- Inheritance
-
- Object
- NavigatorObserver
- FRouterNavigatorObserver
- TabRouteObserver
Constructors
- TabRouteObserver(FRouterDelegate delegate, {required int tabIndex})
Properties
- delegate → FRouterDelegate
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- log → Logger
-
no setterinherited
- loggerName → String
-
no setterinherited
-
The navigator that the observer is observing, if any.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tabIndex → int
-
The index of the tab sending the events
final
Methods
-
didPop(
Route route, Route? previousRoute) → void -
The Navigator popped
route
.inherited -
didPush(
Route route, Route? previousRoute) → void -
The Navigator pushed
route
.inherited -
didRemove(
Route route, Route? previousRoute) → void -
The Navigator removed
route
.inherited -
didReplace(
{Route? newRoute, Route? oldRoute}) → void -
The Navigator replaced
oldRoute
withnewRoute
.inherited -
didStartUserGesture(
Route route, Route? previousRoute) → void -
The Navigator's routes are being moved by a user gesture.
inherited
-
didStopUserGesture(
) → void -
User gesture is no longer controlling the Navigator.
inherited
-
doPop(
RouteInformation? information) → void -
override
-
doPush(
RouteInformation? information) → void -
override
-
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