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.

Sizin İçin Seçtik  How do you navigate without context in Flutter?

Leave a Reply

Your email address will not be published. Required fields are marked *

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.

Sizin İçin Seçtik  How do you pass arguments with pushNamed Flutter?

Leave a Reply

Your email address will not be published. Required fields are marked *