modalView<R> method
Creates an AppPageRoute
definition whose arguments are Map<String, dynamic>
Implementation
UriTemplateAppPageRoute<R, KeyArgs> modalView<R>(
MSchemaRef ref,
WidgetHandler<R, KeyArgs> handler, {
String? name,
ToRouteTitle<KeyArgs>? toRouteTitle,
}) {
return page<R, KeyArgs>(
ref.toPath("/{id}"),
handler,
paramConverter: ref.toConverter(),
transitionType: TransitionType.nativeModal,
name: name,
toRouteTitle: toRouteTitle,
);
}