diff --git a/packages/go_router/lib/fix_data.yaml b/packages/go_router/lib/fix_data.yaml index 6a20a7de55ab..31ea01040889 100644 --- a/packages/go_router/lib/fix_data.yaml +++ b/packages/go_router/lib/fix_data.yaml @@ -17,6 +17,22 @@ version: 1 transforms: + - title: "Replaces 'params' and 'queryParams' in 'GoRouter.replaceNamed' with `pathParameters` and `queryParameters`" + date: 2024-04-12 + bulkApply: true + element: + # TODO(ahmednfwela): Workaround for https://github.com/dart-lang/sdk/issues/52233 + uris: [ 'go_router.dart', 'package:go_router/go_router.dart' ] + method: 'onExit' + inClass: 'GoRoute' + changes: + - kind: 'addParameter' + index: 1 + name: 'state' + style: 'required_positional' + argumentValue: + expression: 'GoRouterState state' + - title: "Replaces 'location' in 'GoRouterState' with `uri.toString()`" date: 2023-07-06 bulkApply: true