topRoute property

GoRoute? topRoute
final

The current matched top route associated with this state.

If this state represents a ShellRoute, the top GoRoute will be the current matched location associated with the ShellRoute. This allows the ShellRoute's associated GoRouterState to be uniquely identified using GoRoute.name

Implementation

final GoRoute? topRoute;