routes library Null safety

Classes

AdvancedRouteSettings
AndroidModalOpener<T>
AuthModalArgs
CupertinoModalOpener<T>
DesktopModalOpener
DragHandle
HandleSheet
IdArgs<R>
KeyArgs<R>
ModalOpener
Modals
NestedNavigatorContainer
NonOpaqueCupertinoPageRoute<T>
Creates a platform-appropriate page route.
RouteExtensions
ScrollerArgs
SunnyRouterFactory
SunnyRouting
TabRouteArgs

Mixins

RouteParamsMixin

Extensions

AppRouteExtension
AppRouteGoNavigationExtension
AppRouteKeyNavExtension
AppRouteMatchExtensions
AppRouteMatchGoExtension
AppRouteNavigationExtension
AppRouteTypedExtension
BuildContextDeviceScreenTypeExt
BuildContextNestedNavigator
FRouterExtensions
MModelIdArgsExt
MSchemaRefExt
MSchemaRefKeyExtension
RouteCast
TabPageExt
TypeToRouteExt
WidgetDragHandle

Properties

nestedGlobalKey GlobalKey<NavigatorState>
final

Functions

bottomSheetModal<T>(BuildContext context, WidgetBuilder scrollBuilder, {bool displayDragHandle = true}) Future<T?>
memoizeScrollBuild(WidgetBuilder builder) WidgetBuilder
memoizeScrollToNon(WidgetBuilder builder) WidgetBuilder
memoizeWidgetBuilder(WidgetBuilder builder) WidgetBuilder
nestedModal<T>(BuildContext context, WidgetBuilder scrollBuilder, {bool displayDragHandle = true, required PathRouteSettings? settings}) Future<T?>
PlatformPageRoute<T>({WidgetBuilder? builder, RouteSettings? settings, bool maintainState = true, bool fullscreenDialog = false, bool nonOpaque = true, bool forceMaterial = false, bool inPageRoute = false}) PageRoute<T>
Creates a platform-appropriate page route.
simple<R, P>(Widget builder()) WidgetHandler<R, P>
widgetWithDragHandle({Widget? child}) Widget

Typedefs

ModalArgsBuilder<P extends RouteParams> = P Function(ScrollController? controller)
Passes the ScrollController to the route args
OnGenerateRoute<T> = Route<T> Function(RouteSettings settings)
OpenModal<T> = Future<T?> Function(BuildContext context, {required WidgetBuilder builder, bool dismissible, bool displayDragHandle, bool draggable, bool expand, double? height, bool nestModals, PathRouteSettings? settings, bool useRootNavigator, double? width})