ApsRouteBuilderFunction typedef
Defines a Route Builder function.
RouteData contains data about the current location that can be used the create the Page.
This type is used usually to configure ApsNavigator.from.route
. E.g.:
// 1 - Create the navigation and the route
final navigator = APSNavigator.from(
routes: {
'/static_url_example': // [ApsRouteBuilderFunction]...
}
)
Implementation
typedef ApsRouteBuilderFunction = Page<dynamic> Function(
RouteData data,
);