navigator library

Classes

LinkNavigator
LinkRouterData
NamedPath
A navigation path that is used to navigate to a named route.
An immutable object that represents a path for navigation. When a named route is pushed with Navigator.pushNamed, the route name is matched with the NavigationPath.matcher.
An immutable object that represents a path for navigation. When a named route is pushed with Navigator.pushNamed, the route name is matched with the NavigationPath.matcher.
NoAnimationMaterialPageRoute<T>
RouterConfiguration
A configuration of router that can be use for easy & powerful navigations.
ScreenBuilder<T extends Widget>
Data that might be useful in constructing a Widget screen.
TypeNavigationPath<T extends Widget>
Works only if argument is of type ScreenBuilder.

Mixins

LinkNavigatorInterface
This is responsible for responding to navigation requests made from LinkRouter.navigateFromUri or RouterConfiguration.navigateFromUri.
LinkRouter
External components can use instance of LinkRouter to create navigation callbacks from urls as Uris or Strings.

Functions

getValueIfTypeMatched<T>(dynamic value) → T?
Returns value as T typecasted if it is of type T; otherwise this returns null.

Typedefs

PathWidgetBuilder = Widget Function(BuildContext context, RouteSettings settings)
RouteBuilder = Route? Function(WidgetBuilder builder, RouteSettings settings)
RouteMatcherCallback = bool Function(RouteSettings? settings)
RouteSettingsBuilder = RouteSettings? Function(RouteSettings settings)
ScreenBuilderCallback<T extends Widget> = T Function(BuildContext context, RouteSettings settings)