navigatorKey property

GlobalKey<NavigatorState>? navigatorKey
final

A key for the nested navigator It is created automatically

Using this is useful if you create two different VNester that should actually be the same. This happens if you use two different VRouteElementBuilder to represent two different routes which should share a common VNester In that case give the VNesters the same key and the same navigatorKey and the animations will be as expected

Implementation

final GlobalKey<NavigatorState>? navigatorKey;