FlutterGetIt.navigator constructor

const FlutterGetIt.navigator({
  1. Key? key,
  2. ApplicationBuilder? builder,
  3. ApplicationBuilderPath? builderPath,
  4. FlutterGetItBindings? bindings,
  5. List<FlutterGetItMiddleware>? middlewares,
  6. String? name,
  7. List<FlutterGetItModule>? modules,
  8. List<FlutterGetItModuleRouter>? modulesRouter,
  9. List<FlutterGetItPageRouter>? pagesRouter,
  10. FGetItLoggerConfig? loggerConfig,
})

Implementation

const FlutterGetIt.navigator({
  super.key,
  this.builder,
  this.builderPath,
  this.bindings,
  this.middlewares,
  this.name,
  this.modules,
  this.modulesRouter,
  this.pagesRouter,
  this.loggerConfig,
})  : contextType = FlutterGetItContextType.navigator,
      assert((builder == null) != (builderPath == null),
          'Please use either Builder or BuilderPath, not both.');