FlutterUxcamNavigatorObserver class

Here using NavigatorObserver instead of RouteObserver because RouteObserver only works for Navigator 1.0 and will log nothing or perform no calls in case of Navigator 2.0.

Inheritance

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
screenNames List<String>
Using this approach as we need to keep track of screens before this one and keep track of screens previous to the current one.
getter/setter pair
taggingScreen String
Using this to chech for and store latest Screen Name
getter/setter pair

Methods

didChangeTop(Route topRoute, Route? previousTopRoute) → void
The top most route has changed.
inherited
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 with newRoute.
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
setAndTaggingScreenName() → void
This function will just perform operation for setting taggingScreen and depeding on the value of taggingScreen will either discard or perform FlutterUxcam.tagScreenName operation.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited