AppRoutes<H extends AppRoute> class
Methods
-
definitionOf(AppRoute route)
→ RouteDefinition<AppRoute>
-
-
error({PageBuilder<ErrorRoute>? page, ViewBuilder<ErrorRoute>? view})
→ void
-
-
guard({required GuardFunction<AppRoute> onGuard, dynamic guarded(GuardedRoutes routes)?})
→ GuardedRoutes
-
-
home({HomeRedirect? show, PageBuilder<H>? page, ViewBuilder<H>? view})
→ void
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
notFound({PageBuilder<NotFoundRoute>? page, ViewBuilder<NotFoundRoute>? view})
→ void
-
-
orElse(ViewBuilder<NotFoundRoute> onBuild)
→ void
-
-
orError(ViewBuilder<ErrorRoute> onBuild)
→ void
-
-
page<T extends AppRoute>(String path, PageBuilder<T> onBuild, {GuardFunction<T>? onGuard, PopFunction<AppRoute>? onPop})
→ void
-
-
redirect(String from, String to)
→ void
-
-
resolvedRouteOf(AppRoute route)
→ AppRoute
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
view<T extends AppRoute>(String path, ViewBuilder<T> onBuild, {GuardFunction<T>? onGuard, PopFunction<T>? onPop})
→ void
-