FRouterExtensions extension
- on
-
- FRouter
Methods
-
completable<
R, E> (String routePath, MSchemaRef ref, {required CompletableHandler< R, IdArgs< handler, String? name}) → CompletableAppRoute<E> >R, IdArgs< E> > -
Available on FRouter, provided by the FRouterExtensions extension
Creates aCompletableAppRoute
definition. -
completableWithArgs<
R, P extends RouteParams> (String routePath, {required CompletableHandler< R, P> handler, required ParameterConverter<P> converter, String? name}) → CompletableAppRoute<R, P> -
Available on FRouter, provided by the FRouterExtensions extension
Creates aCompletableAppRoute
definition. -
create<
R> (MSchemaRef ref, WidgetHandler< R, RouteParams> handler, {String? name, ToRouteTitle<RouteParams> ? toRouteTitle}) → UriTemplateAppPageRoute<R, RouteParams> -
Available on FRouter, provided by the FRouterExtensions extension
Creates anAppPageRoute
definition whose arguments are Map<String, dynamic> -
function<
R> (String routePath, CompletableHandler< R, RouteParams> handler, {String? name, ToRouteTitle? toRouteTitle}) → AppRoute<R, RouteParams> -
Available on FRouter, provided by the FRouterExtensions extension
Creates anAppPageRoute
definition whose arguments are Map<String, dynamic> -
idModal<
R> (String routePath, Widget handler(BuildContext context, RouteParams? args, [ScrollController? scroller]), {String? name, TransitionType? transitionType}) → UriTemplateCompletableAppRoute< R?, RouteParams> -
Available on FRouter, provided by the FRouterExtensions extension
Creates anAppPageRoute
definition whose arguments are Map<String, dynamic> -
idPage<
R, E> (String routePath, Widget handler(BuildContext context, IdArgs< E> ? args), {String? name, TransitionType? transitionType}) → UriTemplateAppPageRoute<R, IdArgs< E> > -
Available on FRouter, provided by the FRouterExtensions extension
Creates anAppPageRoute
definition whose arguments are Map<String, dynamic> -
list<
R> (MSchemaRef ref, WidgetHandler< R, RouteParams> handler, {String? name, ToRouteTitle<RouteParams> ? toRouteTitle, bool isModal = false}) → UriTemplateAppPageRoute<R, RouteParams> -
Available on FRouter, provided by the FRouterExtensions extension
-
modal<
R, P extends RouteParams> (String routePath, WidgetHandler< R, P> handler, {ParameterConverter<P> ? paramConverter, String? name, ToRouteTitle<P> ? toRouteTitle}) → UriTemplateAppPageRoute<R, P> -
Available on FRouter, provided by the FRouterExtensions extension
Creates anAppPageRoute
definition whose arguments are Map<String, dynamic> -
modalView<
R> (MSchemaRef ref, WidgetHandler< R, KeyArgs> handler, {String? name, ToRouteTitle<KeyArgs> ? toRouteTitle}) → UriTemplateAppPageRoute<R, KeyArgs> -
Available on FRouter, provided by the FRouterExtensions extension
Creates anAppPageRoute
definition whose arguments are Map<String, dynamic> -
userPage<
U, R> (String routePath, WidgetHandler< R, IdArgs< handler, {String? name, ToRouteTitle<U> >IdArgs< ? toRouteTitle, TransitionType? transitionType}) → UriTemplateAppPageRoute<U> >R, IdArgs< U> > -
Available on FRouter, provided by the FRouterExtensions extension
-
view<
R> (MSchemaRef ref, WidgetHandler< R, KeyArgs> handler, {String? name, ToRouteTitle<KeyArgs> ? toRouteTitle}) → UriTemplateAppPageRoute<R, KeyArgs> -
Available on FRouter, provided by the FRouterExtensions extension
Creates anAppPageRoute
definition whose arguments are Map<String, dynamic>