YouRouter class

Constructors

YouRouter({required To root, required Uri initial, required GlobalKey<NavigatorState> navigatorKey})

Properties

config RouterConfig<Object>
latefinal
hashCode int
The hash code for this object.
no setterinherited
initial Uri
final
final
root To
final
routerDelegate RouterDelegate<Object>
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

match(String uri) ToUri
matchUri(Uri uri) ToUri
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
to(Uri uri) → void
toRouterConfig() RouterConfig<Object>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

of(BuildContext context) YouRouter