setNavigatorKey method

void setNavigatorKey(
  1. GlobalKey<NavigatorState> navigatorKey
)

Set custom navigation key. This will help if there's route library.

Implementation

void setNavigatorKey(GlobalKey<NavigatorState> navigatorKey) {
  _aliceCore.setNavigatorKey(navigatorKey);
}