Skip to content

Commit

Permalink
Export super types in route_data.dart library (flutter#3286)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnpryan authored and navaronbracke committed Mar 3, 2023
1 parent 610bc95 commit 8259288
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
4 changes: 4 additions & 0 deletions packages/go_router/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 6.2.0

- Export supertypes in route_data.dart library

## 6.1.0

- Adds `GoRouter.maybeOf` to get the closest `GoRouter` from the context, if there is any.
Expand Down
8 changes: 7 additions & 1 deletion packages/go_router/lib/go_router.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,13 @@ export 'src/misc/extensions.dart';
export 'src/misc/inherited_router.dart';
export 'src/pages/custom_transition_page.dart';
export 'src/route_data.dart'
show GoRouteData, TypedGoRoute, TypedShellRoute, ShellRouteData;
show
RouteData,
GoRouteData,
ShellRouteData,
TypedRoute,
TypedGoRoute,
TypedShellRoute;
export 'src/router.dart';
export 'src/typedefs.dart'
show GoRouterPageBuilder, GoRouterRedirect, GoRouterWidgetBuilder;
2 changes: 1 addition & 1 deletion packages/go_router/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: go_router
description: A declarative router for Flutter based on Navigation 2 supporting
deep linking, data-driven routes and more
version: 6.1.0
version: 6.2.0
repository: https://github.com/flutter/packages/tree/main/packages/go_router
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+go_router%22

Expand Down

0 comments on commit 8259288

Please sign in to comment.