db_navigator library

Classes

DBCupertinoPage
A DBPage implementation for Cupertino.
DBMaterialPage
A DBPage implementation for material.
DBNavigator
DB Navigator.
DBNestedNavigationForTabBarView
DBNestedNavigationForTabBarView allow to setup nested navigation for the underlying TabBarView.
DBNestedNavigationIndexedStack
DBNestedNavigationIndexedStack allow to setup nested navigation for the underlying IndexedStack.
DBPageBuilder
DB Page Builder build a DBPage from a Destination.
DBRouteInformationParser
Transport Exchange Group Route Information parser.
DBRouterDelegate
Transport group exchange Flutter Application Router delegate. Manage the navigation stack/history of a Router.
Destination
Navigation destination.
DestinationArgumentConverter
Class that help convert pojo to json representation and json to pojo.
DestinationMetadata
Navigation Destination's metadata.
EnterFromLeftExitToLeftCupertinoPageTransitionRoute
A implementation of DBCupertinoPageRoute.
EnterFromLeftExitToLeftMaterialPageTransitionRoute
A implementation of DBMaterialPageRoute.
EnterFromRightCupertinoPageTransition
A implementation of DBCupertinoPageRoute.
EnterFromRightExitToLeftCupertinoPageTransition
A implementation of DBCupertinoPageRoute.
EnterFromRightExitToLeftMaterialPageTransition
A implementation of DBMaterialPageRoute.
EnterFromRightMaterialPageTransition
A implementation of DBMaterialPageRoute.
FadeInCupertinoPageTransitionRoute
A implementation of DBCupertinoPageRoute.
FadeInMaterialPageTransitionRoute
A implementation of DBMaterialPageRoute.
HasToJson<T extends Object>
Marker interface that define that a pojo can be converted to json.
ScopedPageBuilder
A DBPageBuilder that provide api to be triggered when the initialDestination is entered and existed.

Mixins

DBPage
DBRouterDelegate's pages.

Extensions

DBRouterDelegateBuildContextExtensions on BuildContext
DBRouterDelegate extensions for BuildContext
ListOfPageBuilderExtension on Iterable<DBPageBuilder>
Convenient extension to manipulate a collection of DBPageBuilder

Typedefs

AsyncDestinationPageFactory = Future<DBPage> Function(Destination)
Async function allowing to create DBPage for the provided Destination.
AsyncDestinationWidgetFactory = Future<Widget> Function(Destination)
Async function allowing to create Widget for the provided Destination.
DestinationArgumentFromJson = Object Function(Object? json)
Function that define a function that convert json to instance of an destination argument.
DestinationPageFactory = DBPage Function(Destination)
Function allowing to create DBPage for the provided Destination.
DestinationWidgetFactory = Widget Function(Destination)
Function allowing to create Widget for the provided Destination.

Exceptions / Errors

DBRouterDelegateCantClosePageException
An exception to be thrown when DBRouterDelegate could not close the requested page.
DBRouterDelegateNotFoundException
Exception to be thrown when DBRouterDelegate.of is call but no Router with the RouterDelegate of type DBRouterDelegate was founded.
PageNotFoundException
Exception to be thrown when a page is requested but there's no DBPageBuilder was capable to provide it.