UriTemplateAppPageRoute<R, P extends RouteParams> class Null safety

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. [...]
read-only, inherited
name String?
final, inherited
paramConverter ParameterConverter<P>?
Function to convert parameters to the type expected by this route
final, inherited
route String
The route template string
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
toRouteUri ToRouteUri?
Function for creating route uris
final, inherited
transitionType TransitionType?
final, inherited
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 non-existent 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