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 VNesterBase that should actually be the same. This happens if you use two different VRouteElementBuilder to represent two different routes which should share a common VNesterBase In that case give the VNesterBases the same key and the same navigatorKey and the animations will be as expected

Implementation

final GlobalKey<NavigatorState>? navigatorKey;