UriTemplateAppPageRoute<R, P extends RouteParams> class

Inheritance
Available Extensions

Constructors

UriTemplateAppPageRoute(UriTemplate uriTemplate, WidgetHandler<R, P> handler, ParameterConverter<P>? paramConverter, {required String? name, TransitionType? transitionType, ToRouteTitle<P>? toRouteTitle})
UriTemplateAppPageRoute.ofUri(String uri, WidgetHandler<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?
finalinherited
paramConverter ParameterConverter<P>?
Function to convert parameters to the type expected by this route
finalinherited
route String
The route template string
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toRouteUri ToRouteUri?
Function for creating route uris
finalinherited
transitionType TransitionType?
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 input) Widget
inherited
handleAny(BuildContext context, dynamic input) Widget
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