RRouter class

Constructors

RRouter()

Properties

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

Methods

addRouter({String path, RRouterWidgetBuilder routerWidgetBuilder, RRouterPageBuilder routerPageBuilder, bool isReplaceRouter}) → void
you want to add a widget in the navigation , can use it.
canPop() → bool
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.
pop<T>([T result]) → bool
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.
routerGenerate(RouteSettings settings) Route
generate a route ,you must add this to app.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

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

Static Properties

context BuildContext
read-only
myRouter RRouter
final
read-only