key property

Retrieves the key of the root navigator.

Implementation

GlobalKey<NavigatorState> get key => rootDelegate.navigatorKey;