RRouter class




hashCode → int
The hash code for this object. [...]
read-only, inherited
interceptors RRouterInterceptors
notFoundPage RRouterNotFountPage
read / write
observer RRouterObserver
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited


addRouter({String path, RRouterWidgetBuilder routerWidgetBuilder, RRouterPageBuilderType routerPageBuilderType, PageTransitionsBuilder routerPageTransitions, bool isReplaceRouter}) → void
you want to add a widget in the navigation , can use it.
canPop() → bool
clear() → void
finalizeRoute(Route route) → void
Complete the lifecycle for a route that has been popped off the navigator. [...]
getRouteWidget(String path, [Map<String, dynamic> arguments]) → Widget
build your router widget use in animations packages
lock() → void
maybePop<T extends Object>([T result]) → Future<bool>
Tries to pop the current route, while honoring the route's Route.willPop state.
Push the given route onto the navigator.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
pop<T extends Object>([T result]) → dynamic
Pop the top-most route off the navigator.
popAndPushNamed<T extends Object, TO extends Object>(String routeName, {TO result, Object arguments}) → Future<T>
Pop the current route off the navigator and push a named route in its place.
popUntil(RoutePredicate predicate) → void
Calls pop repeatedly until the predicate returns true.
removeRoute(Route route) → void
Immediately remove route from the navigator, and Route.dispose it.
removeRouteBelow(Route anchorRoute) → void
Immediately remove a route from the navigator, and Route.dispose it. The route to be removed is the one below the given anchorRoute.
routerGenerate(RouteSettings settings) → Route
generate a route ,you must add this to app.
toString() → String
Returns a string representation of this object.
unLock() → void


operator ==(Object other) → bool
The equality operator. [...]

Static Properties

context → BuildContext
myRouter RRouter