FRouterDelegate constructor
FRouterDelegate(
- FRouteState state,
- FRouter routes, {
- required String path,
- required FRouterDelegate parent,
- required AppRoute<
dynamic, RouteParams> ? initialRoute, - List<
HistoryObserver> historyObservers = const [], - 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);
}