FRouterExtensions extension

on
  • FRouter

Methods

completable<R, E>(String routePath, MSchemaRef ref, {required CompletableHandler<R, IdArgs<E>> handler, String? name}) → CompletableAppRoute<R, IdArgs<E>>

Available on FRouter, provided by the FRouterExtensions extension

Creates a CompletableAppRoute 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 a CompletableAppRoute 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 an AppPageRoute 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 an AppPageRoute 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 an AppPageRoute 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 an AppPageRoute 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

Available on FRouter, provided by the FRouterExtensions extension

Creates an AppPageRoute 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 an AppPageRoute definition whose arguments are Map<String, dynamic>
userPage<U, R>(String routePath, WidgetHandler<R, IdArgs<U>> handler, {String? name, ToRouteTitle<IdArgs<U>>? toRouteTitle, TransitionType? transitionType}) → UriTemplateAppPageRoute<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 an AppPageRoute definition whose arguments are Map<String, dynamic>