RouteView class

A mounted route boundary that renders the current match as a UI description.

The page builder handles matched routes; notFoundBuilder handles unmatched paths. Place this component inside an existing component tree to keep the surrounding application shell mounted during navigation.

Inheritance

Constructors

RouteView({required Router router, required RoutePageBuilder pageBuilder, required RoutePageBuilder notFoundBuilder})
RouteView.fromCatalog({required Router router, required RouteCatalog catalog, bool hydrateExisting = false, bool manageMetadata = true})

Properties

children → List<Object>
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
props → void
finalinherited
router → Router
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

createState<T>(T initialValue) → Signal<T>
inherited
dispose() → void
inherited
mount(String selector) → void
inherited
mountInto(Element host) → void
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onDispose() → void
override
onMount() → void
override
onUpdate() → void
inherited
render() → Node
override
toString() → String
A string representation of this object.
inherited

Operators

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