RouteBuilder constructor
RouteBuilder({
- required RouteConfiguration configuration,
- required GoRouterPageBuilder? errorPageBuilder,
- required GoRouterWidgetBuilder? errorBuilder,
- required String? restorationScopeId,
- required List<
NavigatorObserver> observers, - required PopPageWithRouteMatchCallback onPopPageWithRouteMatch,
- 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,
});