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

Implementation

final GlobalKey<NavigatorState>? navigatorKey;