modal<R, P extends RouteParams> method
UriTemplateAppPageRoute<R, P>
modal<R, P extends RouteParams>(})
Creates an AppPageRoute
definition whose arguments are Map<String, dynamic>
Implementation
UriTemplateAppPageRoute<R, P> modal<R, P extends RouteParams>(
String routePath,
WidgetHandler<R, P> handler, {
ParameterConverter<P>? paramConverter,
String? name,
ToRouteTitle<P>? toRouteTitle,
}) {
return page<R, P>(
routePath,
handler,
paramConverter: paramConverter,
transitionType: TransitionType.nativeModal,
name: name,
toRouteTitle: toRouteTitle,
);
}