FSNavigatorObserver class

A NavigatorObserver that tracks Navigator page transitions and captures them in Fullstory.

Pages are automatically created, started and cached for reuse as the user navigates through the app.

Inheritance

Constructors

FSNavigatorObserver({String namePage(Route route) = namePageDefault, PagePropertiesFactory initialProperties = propertiesDefault, PagePropertiesFactory updateProperties = propertiesDefault})
Creates a FSNavigatorObserver.

Properties

hashCode → int
The hash code for this object.
no setterinherited
initialProperties → PagePropertiesFactory
Generates page properties to set when a page is created with FS.page
final
namePage → String Function(Route route)
Generates page names to be sent to Fullstory from Routes.
final
The navigator that the observer is observing, if any.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
updateProperties → PagePropertiesFactory
Generates page properties to pass to FSPage.updateProperties with on a subsequent visit.
final

Methods

didChangeTop(Route topRoute, Route? previousTopRoute) → void
The top most route has changed.
override
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 with newRoute.
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
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