OkitoObserver class
For this file, I don't think that it is necessary to add detailed documents for each function, so I will describe them here.
This page is important to set the arguments of routes when the page changes.
We do set two variables here, Okito.arguments!
and Okito.routeName!
Observer is the way to observe navigation in Okito
- Inheritance
-
- Object
- NavigatorObserver
- OkitoObserver
Constructors
Properties
- hashCode → int
-
The hash code for this object.
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
Methods
-
didPop(
Route route, Route? previousRoute) → void -
Whenever the user uses pop functions, we set variables.
override
-
didPush(
Route route, Route? previousRoute) → void -
Whenever the user uses push functions, we set variables.
override
-
didRemove(
Route route, Route? previousRoute) → void -
Whenever the user removes the previous route, this function will be
called and we set the variables.
override
-
didReplace(
{Route? newRoute, Route? oldRoute}) → void -
Whenever the user uses replace functions, we set variables.
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 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