getKey static method

Return the instance of the GlobalKey.

Implementation

static GlobalKey<NavigatorState> getKey() {
  return navigatorKey;
}