parentNavigatorKey property

GlobalKey<NavigatorState>? parentNavigatorKey
finalinherited

An optional key specifying which Navigator to display this route's screen onto.

Specifying the root Navigator will stack this route onto that Navigator instead of the nearest ShellRoute ancestor.

Implementation

final GlobalKey<NavigatorState>? parentNavigatorKey;