navigatorKey property
A global key that must be assigned to the app's MaterialApp in order
for XSnackbar to access the current NavigatorState.
Implementation
static final GlobalKey<NavigatorState> navigatorKey =
GlobalKey<NavigatorState>();
A global key that must be assigned to the app's MaterialApp in order
for XSnackbar to access the current NavigatorState.
static final GlobalKey<NavigatorState> navigatorKey =
GlobalKey<NavigatorState>();