navigatorKey property
The NavigatorState
of the app.
You can use this to provide data to your material app.
Implementation
final GlobalKey<NavigatorState> navigatorKey = GlobalKey<NavigatorState>();
The NavigatorState
of the app.
You can use this to provide data to your material app.
final GlobalKey<NavigatorState> navigatorKey = GlobalKey<NavigatorState>();