RootStackRouter constructor
RootStackRouter([
Implementation
RootStackRouter([GlobalKey<NavigatorState>? navigatorKey])
: super(
key: const ValueKey('Root'),
navigatorKey: navigatorKey,
) {
_navigationHistory =
kIsWeb ? WebNavigationHistory(this) : NativeNavigationHistory(this);
}