navigatorKey property

GlobalKey<NavigatorState> navigatorKey
latefinal

A key for the nested navigator It is created automatically

Using this is useful if you create two different VNesterPageBase that should actually be the same. This happens if you use two different VRouteElementBuilder to represent two different routes which should share a common VNesterPageBase

Implementation

late final GlobalKey<NavigatorState> navigatorKey;