FRouterDelegate constructor

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

Implementation

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

  // init(userChanges);
  // _observer.addListener(_onRouterChanges);
}