Skip to content

Commit c704608

Browse files
Fix comment
1 parent cc235cd commit c704608

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

packages/go_router/lib/src/route_data.dart

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,6 @@ class TypedGoRouteParameter {
630630
///
631631
/// If `null`, the kebab-case version of the parameter name will be used.
632632
///
633-
/// {@template go_router_builder.TypedGoRouteParameter.name.usage}
634633
/// For example:
635634
/// ```dart
636635
/// class MyRoute extends GoRouteData with $MyRoute {
@@ -642,8 +641,7 @@ class TypedGoRouteParameter {
642641
/// ```
643642
///
644643
/// 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}
644+
/// `/my-route?custom_name=some_value` instead of the default
645+
/// `/my-route?my-parameter=some_value`.
648646
final String? name;
649647
}

0 commit comments

Comments
 (0)