navigatorKey top-level property Null safety

GlobalKey<NavigatorState> navigatorKey
final

Implementation

final GlobalKey<NavigatorState> navigatorKey = new GlobalKey<NavigatorState>();