navigatorKey property

GlobalKey<NavigatorState>? navigatorKey
final

Optional navigator key to use for navigation If provided, this will be used instead of finding Navigator from context

Implementation

final GlobalKey<NavigatorState>? navigatorKey;