Skip to content

Commit 0edae25

Browse files
authored
Export super types in route_data.dart library (flutter#3286)
1 parent 8ad3fde commit 0edae25

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

packages/go_router/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 6.2.0
2+
3+
- Export supertypes in route_data.dart library
4+
15
## 6.1.0
26

37
- Adds `GoRouter.maybeOf` to get the closest `GoRouter` from the context, if there is any.

packages/go_router/lib/go_router.dart

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,13 @@ export 'src/misc/extensions.dart';
1212
export 'src/misc/inherited_router.dart';
1313
export 'src/pages/custom_transition_page.dart';
1414
export 'src/route_data.dart'
15-
show GoRouteData, TypedGoRoute, TypedShellRoute, ShellRouteData;
15+
show
16+
RouteData,
17+
GoRouteData,
18+
ShellRouteData,
19+
TypedRoute,
20+
TypedGoRoute,
21+
TypedShellRoute;
1622
export 'src/router.dart';
1723
export 'src/typedefs.dart'
1824
show GoRouterPageBuilder, GoRouterRedirect, GoRouterWidgetBuilder;

packages/go_router/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: go_router
22
description: A declarative router for Flutter based on Navigation 2 supporting
33
deep linking, data-driven routes and more
4-
version: 6.1.0
4+
version: 6.2.0
55
repository: https://github.com/flutter/packages/tree/main/packages/go_router
66
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+go_router%22
77

0 commit comments

Comments
 (0)