FRouterDelegate.root constructor

FRouterDelegate.root(
  1. FRouteState state,
  2. FRouter routes, {
  3. List<HistoryObserver> historyObservers = const [],
  4. required AppRoute<dynamic, RouteParams>? initialRoute,
  5. required String path,
  6. required bool preferUpdates,
  7. required GlobalKey<NavigatorState> navigatorKey,
})

Implementation

FRouterDelegate.root(this.state, this.routes,
    // this.routeProvider,
    {this.historyObservers = const [],
    required this.initialRoute,
    required this.path,
    required this.preferUpdates,
    required this.navigatorKey})
    : parent = null {
  init();
  // _observer.addListener(_onRouterChanges);
}