RRouter class

Constructors

RRouter()

Properties

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

Methods

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
getRouteWidget(String path, [Map<String, dynamic> arguments]) Widget
build your router widget use in animations packages
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. [...]
inherited
pop<T>([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.
routerGenerate(RouteSettings settings) Route
generate a route ,you must add this to app.
toString() String
Returns a string representation of this object.
inherited

Operators

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

Static Properties

context BuildContext
read-only
myRouter RRouter
final
read-only