We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc235cd commit c704608Copy full SHA for c704608
1 file changed
packages/go_router/lib/src/route_data.dart
@@ -630,7 +630,6 @@ class TypedGoRouteParameter {
630
///
631
/// If `null`, the kebab-case version of the parameter name will be used.
632
633
- /// {@template go_router_builder.TypedGoRouteParameter.name.usage}
634
/// For example:
635
/// ```dart
636
/// class MyRoute extends GoRouteData with $MyRoute {
@@ -642,8 +641,7 @@ class TypedGoRouteParameter {
642
641
/// ```
643
644
/// This will result in a route that matches
645
- /// `/my_route?custom_name=some_value` instead of the default
646
- /// `/my_route?my-parameter=some_value`.
647
- /// {@endtemplate}
+ /// `/my-route?custom_name=some_value` instead of the default
+ /// `/my-route?my-parameter=some_value`.
648
final String? name;
649
}
0 commit comments