Skip to content

Commit eab16dd

Browse files
authored
[go_router_builder] Support extension types (#9458)
fix flutter/flutter#170870 Extended `type_helpers.dart` to support [Dart extension types](https://dart.dev/language/extension-types). ## Pre-Review Checklist [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
1 parent 172ced2 commit eab16dd

File tree

9 files changed

+1722
-2
lines changed

9 files changed

+1722
-2
lines changed

packages/go_router_builder/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 3.2.0
2+
3+
- Adds support for`extension type`.
4+
15
## 3.1.0
26

37
- Updates dependencies to use the latest `analyzer`, `build`, and `source_gen`.

packages/go_router_builder/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ class RedirectRoute extends GoRouteData {
334334

335335
## Type conversions
336336

337-
The code generator can convert simple types like `int` and `enum` to/from the
337+
The code generator can convert simple types like `int`, `enum`, and `extension type` to/from the
338338
`String` type of the underlying pathParameters:
339339

340340
<?code-excerpt "example/lib/readme_excerpts.dart (BookKind)"?>

0 commit comments

Comments
 (0)