UriTemplateCompletableAppRoute<R, P extends RouteParams> class
- Inheritance
-
- Object
- CompletableAppRoute<
R, P> - UriTemplateCompletableAppRoute
- Available Extensions
Constructors
-
UriTemplateCompletableAppRoute(UriTemplate uriTemplate, CompletableHandler<
R, P> handler, ParameterConverter<P> paramConverter, {String? name, ToRouteTitle<P> ? toRouteTitle}) -
UriTemplateCompletableAppRoute.ofUri(String uri, CompletableHandler<
R, P> handler, ParameterConverter<P> paramConverter, {required String name, TransitionType? transitionType, ToRouteTitle<P> ? toRouteTitle})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String?
-
The friendly name of the route
finalinherited
-
paramConverter
→ ParameterConverter<
P> -
Used to convert to typed parameters
finalinherited
- route → String
-
The uri or name of hte route
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- toRouteUri → ToRouteUri?
-
Builds a route uri for given parameters
finalinherited
- uriTemplate → UriTemplate
-
final
Methods
-
cast<
RR, PP extends RouteParams> () → AppRoute< RR, PP> -
Casts this route to the expected type. If the cast is invalid, you
may have errors when running the functions because parameters are
not cast correctly
inherited
-
handle(
BuildContext context, P params, SendRoute sender) → Future< R> -
inherited
-
handleAny(
BuildContext context, dynamic params, SendRoute sender) → Future -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
routeTitle(
[P? params]) → String? -
inherited
-
routeUri(
dynamic params) → String? -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited