navigationKey property

GlobalKey<NavigatorState> navigationKey
getter/setter pair

Global navigation key for whole application

Implementation

GlobalKey<NavigatorState> navigationKey = GlobalKey<NavigatorState>();