RouteBuilder constructor

RouteBuilder({
  1. required RouteConfiguration configuration,
  2. required GoRouterBuilderWithNav builderWithNav,
  3. required GoRouterPageBuilder? errorPageBuilder,
  4. required GoRouterWidgetBuilder? errorBuilder,
  5. required String? restorationScopeId,
  6. required List<NavigatorObserver> observers,
  7. required PopPageWithRouteMatchCallback onPopPageWithRouteMatch,
  8. bool requestFocus = true,
})

RouteBuilder constructor.

Implementation

RouteBuilder({
  required this.configuration,
  required this.builderWithNav,
  required this.errorPageBuilder,
  required this.errorBuilder,
  required this.restorationScopeId,
  required this.observers,
  required this.onPopPageWithRouteMatch,
  this.requestFocus = true,
});