FluroRoutingModule constructor

FluroRoutingModule({
  1. required String path,
  2. GlobalKey<NavigatorState>? navigatorKey,
  3. bool preferUpdates = true,
  4. Stream<AuthUserProfile?> userChanges()?,
  5. AuthUserProfile? currentUser()?,
  6. TabSet? tabs,
  7. required FRouter routes,
  8. required String initialRoute,
  9. List<HistoryObserver> historyObservers = const [],
})

Implementation

FluroRoutingModule({
  required this.path,
  GlobalKey<NavigatorState>? navigatorKey,
  this.preferUpdates = true,
  this.userChanges,
  this.currentUser,
  this.tabs,
  required this.routes,
  required this.initialRoute,
  this.historyObservers = const [],
}) : navigatorKey = navigatorKey ?? globalNavigatorKey;