BrowserRouteCatalog class

Browser route definitions and deferred page-library loaders.

Server rendering continues to use RouteCatalog. This catalog keeps only route matchers, metadata builders, and deferred library entrypoints in the browser bootstrap.

Constructors

BrowserRouteCatalog({required Iterable<BrowserRouteConfig> routes, required BrowserRoutePageBuilder notFoundBuilder, RouteMetadataBuilder? notFoundMetadataBuilder})
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
notFoundBuilder → BrowserRoutePageBuilder
final
routes → List<BrowserRouteConfig>
final
routeTable → RouteTable
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

loadPage(RouteMatch match) → Future<SsrComponent>
metadataFor(RouteMatch match) → HeadMetadata
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
routeFor(RouteMatch match) → BrowserRouteConfig?
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited