NavigatorHistory class Null safety Utils
Root Navigator의 Pop, Push, Replace 등을 추적하는 내비게이터 옵저버입니다.
- Inheritance
- Object
- NavigatorObserver
- NavigatorHistory
Constructors
-
factory
Properties
- currentRoute → Route
-
현재(마지막) 라우트정보를 반환합니다.
read-only
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
-
history
↔ List<
Route> -
히스토리를 담습니다.
read / write
- instanceId ↔ int
-
싱글톤 인스턴스 아이디
read / write
- limit → int
-
최대 내비게이터 스택 개수를 제한합니다.
final
-
The navigator that the observer is observing, if any.
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
didPop(
Route route, Route? previousRoute) → void -
The Navigator popped
route
. [...]override -
didPush(
Route route, Route? previousRoute) → void -
The Navigator pushed
route
. [...]override -
didRemove(
Route route, Route? previousRoute) → void -
The Navigator removed
route
. [...]override -
didReplace(
{Route? newRoute, Route? oldRoute}) → void -
The Navigator replaced
oldRoute
withnewRoute
.override -
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited