navigatorKey. A key to use when building the Navigator . If a navigatorKey is specified, the Navigator can be directly manipulated without first obtaining it from a BuildContext via Navigator. of: from the navigatorKey, use the GlobalKey.
What is navigatorKey in flutter?
navigatorKey. A key to use when building the Navigator . If a navigatorKey is specified, the Navigator can be directly manipulated without first obtaining it from a BuildContext via Navigator. of: from the navigatorKey, use the GlobalKey.