Nuvigator<T extends INuRouter?> constructor

const Nuvigator<T extends INuRouter?>({
  1. required T router,
  2. Map<String, Object>? initialArguments,
  3. Key? key,
  4. List<NavigatorObserver> observers = const [],
  5. WrapperFn? wrapper,
  6. bool debug = false,
  7. List<ObserverBuilder> inheritableObservers = const [],
  8. bool shouldPopRoot = false,
  9. ShouldRebuildFn? shouldRebuild,
})

Implementation

const Nuvigator({
  required this.router,
  this.initialArguments,
  Key? key,
  this.observers = const [],
  this.wrapper,
  this.debug = false,
  this.inheritableObservers = const [],
  this.shouldPopRoot = false,
  this.shouldRebuild,
})  : _innerKey = key,
      assert(router != null);