r_router library


Re-usable widget that displays the selected date (in large font) and the help text above it. [...]
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. [...]
interceptor if you want to interceptor router
interceptor wrapper
route observer
use to RRouterPlugin.
Delegate for showSearch to define the content of the search page. [...]


showRAboutDialog({String applicationName, String applicationVersion, Widget applicationIcon, String applicationLegalese, List<Widget> children, RouteSettings routeSettings}) → void
showRCupertinoDialog<T>({WidgetBuilder builder, RouteSettings routeSettings}) → Future<T>
showRCupertinoModalPopup<T>({WidgetBuilder builder, ImageFilter filter, bool semanticsDismissible}) → Future<T>
Shows a modal iOS-style popup that slides up from the bottom of the screen. [...]
showRDatePicker({DateTime initialDate, DateTime firstDate, DateTime lastDate, DatePickerEntryMode initialEntryMode = DatePickerEntryMode.calendar, SelectableDayPredicate selectableDayPredicate, String helpText, String cancelText, String confirmText, Locale locale, RouteSettings routeSettings, TextDirection textDirection, TransitionBuilder builder, DatePickerMode initialDatePickerMode = DatePickerMode.day, String errorFormatText, String errorInvalidText, String fieldHintText, String fieldLabelText}) → Future<DateTime>
Shows a dialog containing a Material Design date picker. [...]
showRDialog<T>({bool barrierDismissible = true, WidgetBuilder builder, bool useSafeArea = true, RouteSettings routeSettings}) → Future<T>
showRGeneralDialog<T>({RoutePageBuilder pageBuilder, bool barrierDismissible, String barrierLabel, Color barrierColor, Duration transitionDuration, RouteTransitionsBuilder transitionBuilder, RouteSettings routeSettings}) → Future<T>
showRLicensePage({String applicationName, String applicationVersion, Widget applicationIcon, String applicationLegalese}) → void
Displays a LicensePage, which shows licenses for software used by the application. [...]
showRMenu<T>({RelativeRect position, List<PopupMenuEntry<T>> items, T initialValue, double elevation, String semanticLabel, ShapeBorder shape, Color color, bool captureInheritedThemes = true}) → Future<T>
Show a popup menu that contains the items at position. [...]
showRModalBottomSheet<T>({WidgetBuilder builder, Color backgroundColor, double elevation, ShapeBorder shape, Clip clipBehavior, bool isScrollControlled = false, bool isDismissible = true, Color barrierColor, bool enableDrag = true, RouteSettings routeSettings}) → Future<T>
Shows a modal material design bottom sheet. [...]
showRSearch<T>({SearchDelegate<T> delegate, String query = ''}) → Future<T>
Shows a full screen search page and returns the search result selected by the user when the page is closed. [...]
showRTimePicker({TimeOfDay initialTime, TransitionBuilder builder, RouteSettings routeSettings}) → Future<TimeOfDay>
Shows a dialog containing a material design time picker. [...]
transResult({String path, Map<String, dynamic> arguments, bool replace, bool clearTrace}) → Future
transform result


EnqueueCallback() → FutureOr
PopupMenuCanceled() → void
Signature for the callback invoked when a PopupMenuButton is dismissed without selecting an item. [...]
PopupMenuItemBuilder<T>(BuildContext context) → List<PopupMenuEntry<T>>
Signature used by PopupMenuButton to lazily construct the items shown when the button is pressed. [...]
PopupMenuItemSelected<T>(T value) → void
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. [...]
RRouterNotFountPage(String path) → Widget
not fount page widget
RRouterRequestCallback(RouteSettings settings) → RouteSettings
RRouterWidgetBuilder(dynamic params) → Widget
widget builder

Exceptions / Errors

not found route exception