Skip to main content

PageRouteFactory

Type Alias PageRouteFactory 

Source
pub type PageRouteFactory = Rc<dyn Fn(&mut App, &RouteSettings, WidgetBuilder) -> PageRouteRef>;
Expand description

The signature of WidgetsApp::page_route_builder.

Creates a PageRoute using the given RouteSettings and WidgetBuilder.

Aliased Typeยง

pub struct PageRouteFactory { /* private fields */ }