routing library
Routing
Classes
- AlbaRouteInformationParser
- A router information parser.
- AlbaRouterDelegate
- A router delegate.
-
DialogPage<
T> - A dialog page.
-
IdRouterListener<
T> - A router listener for a specific page id.
-
MultipleRouterListener<
T> - A router listener for several page paths or page ids.
- PageWrapper
- A Page wrapper.
-
PathRouterListener<
T> - A router listener for a specific page path.
-
PopEvent<
T extends Object?> - A router pop event.
- PushEvent
- A router push event.
- ReplaceEvent
- A router push event.
- RouteDefinition
- A route definition.
- RouteDialogBehavior
- A route that should behave like a dialog.
- RouteInfo
- A route info.
- Router
- A widget that manages routes and pages though the Navigator.
- RouterBuilder
- A router builder.
- RouterConfiguration
- A router configuration.
- RouterEvent
- A router event.
-
RouterListener<
T extends Object?> - A listener for router events.
-
RouterListenerState<
T> - A state for a RouterListener widget.
- RouterState
- A router state.
- RouterWidgetState
- A state for a Router widget.
Functions
-
defaultPageBuilder(
BuildContext context, PageWrapper pageWrapper) → Page - Default page builder.
Typedefs
-
Middleware
= PipelineHandler<
RouteDefinition> - A route middleware
-
PopEventCallback<
T extends Object?> = void Function(PageWrapper pageWrapper, T? result) - A pop event callback.
- PushEventCallback = void Function(PageWrapper pageWrapper)
- A push event callback.
-
ReplaceEventCallback<
T extends Object?> = void Function(PageWrapper pageWrapper, PageWrapper oldPageWrapper) - A pop event callback.
- RouterPageBuilder = Page Function(BuildContext context, PageWrapper pageWrapper)
- A signature for a function that creates a router Page.
-
RouteWidgetBuilder
= Widget Function(BuildContext context, Map<
String, String> parameters, Map<String, String> query) - A signature for a function that creates a route Widget.