DStackNavigatorObserver class
- Inheritance
-
- Object
- NavigatorObserver
- DStackNavigatorObserver
Constructors
-
factory
Properties
- gesturingRouteName → String?
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
The navigator that the observer is observing, if any.
no setterinherited
- routerCount ↔ int
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
didPop(
Route route, Route? previousRoute) → void -
页面退出了(手势返回也会走这个方法)
route 当前操作页面
previousRoute 操作页面的上一个页面
override
-
didPush(
Route route, Route? previousRoute) → void -
页面进入了
route 路由目标页面
previousRoute 目标页面的上一个页面
override
-
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 -
route 路由目标页面
previousRoute 目标页面的上一个页面
override
-
didStopUserGesture(
) → void -
User gesture is no longer controlling the Navigator.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setGesturingRouteName(
String? gesturingRouteName) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → DStackNavigatorObserver?
-
no setter