r_router library

Classes

CastableStringMap
Context
Request New Route with use this Context
CupertinoModalPopupRoute2
CustomPage<T extends Object?>
CustomPageRoute<T extends Object?>
navigate1.0
CustomPageRoute2<T>
Navigator 2.0
DefaultErrorPage
DelegatingMap<K, V>
A Map that delegates all operations to a base map.
DialogTransactionBuilder
dialog transaction builder
ErrorPage
ErrorPageMeta
auto generate error page code
ErrorPageWrapper
ModalBottomSheet<T>
ModalBottomSheetRoute<T>
ModalBottomSheetRoute2
Register this Navigator Route
NoTransitionBuilder
if run web, this transition will be default.
PageBasedCustomPageRoute
PathParams
Class to hold path parameters
PopupMenuButton<T>
Displays a menu when pressed and calls onSelected when the menu is dismissed because an item was selected. The value passed to onSelected is the value of the selected menu item.
PopupMenuRoute<T>
PopupMenuRoute2
QueryParams
Class to hold query parameters
RawDialogRoute2
Redirect
redirect path.
RRouterBasic
RRouterBodyMeta
RRouterDelegate
RRouterInformationParser
RRouterObserver
route observer
RRouterPageMeta
auto generate router page code
RRouterPathMeta
RRouterQueryMeta
RRouterRegister
SearchDelegate<T>
Delegate for showSearch to define the content of the search page.
SearchPageRoute2
TransactionPageBuilderWrapper

Properties

RRouter RRouterBasic
getter/setter pair

Functions

buildCupertinoDialogTransitions(BuildContext context, Animation<double> animation, Animation<double> secondaryAnimation, Widget child) Widget
cupertino dialog style, use in showCupertinoDialog context BuildContext animation animation secondaryAnimation Secondary Animation child Widget child
buildMaterialDialogTransitions(BuildContext context, Animation<double> animation, Animation<double> secondaryAnimation, Widget child) Widget
material dialog style context BuildContext animation animation secondaryAnimation Secondary Animation child Widget child

Typedefs

BuildCustomRoute<T extends Object?> = Route<T> Function(BuildContext context, CustomPage<Object?> page)
navigator2.0
PageBuilder = Page Function(Context ctx, WidgetBuilder builder, PageTransitionsBuilder pageTransitionsBuilder)
PopHome = Future<bool> Function()
PopupMenuCanceled = void Function()
Signature for the callback invoked when a PopupMenuButton is dismissed without selecting an item.
PopupMenuItemBuilder<T> = List<PopupMenuEntry<T>> Function(BuildContext context)
Signature used by PopupMenuButton to lazily construct the items shown when the button is pressed.
PopupMenuItemSelected<T> = void Function(T value)
Signature for the callback invoked when a menu item is selected. The argument is the value of the PopupMenuItem that caused its menu to be dismissed.
ResponseProcessor = FutureOr Function(Context context, dynamic result)
Function that modifies context
RouteHandler = FutureOr Function(Context context)
RouteInterceptor = FutureOr<bool> Function(Context ctx)