navigatorKey property
A key given to the root navigator
This can be used to access a context in which you can call Navigator
This can also be used if you need your routes to update, in this case change this key Note however that you should change navigatorKey as little as possible
Implementation
@override
final GlobalKey<NavigatorState>? navigatorKey;