[go_router] fixes urls for go_router package (#2907)

* fix: fixes urls for go_router package

* applies fixes and updates version
This commit is contained in:
Gonçalo Palma
2022-12-08 22:57:05 +00:00
committed by GitHub
parent 717331c74a
commit aa0d1f24c2
4 changed files with 8 additions and 5 deletions

View File

@ -1,3 +1,7 @@
## 5.2.3
- Fixes link for router configuration and sub-routes
## 5.2.2 ## 5.2.2
- Fixes `pop` and `push` to update urls correctly. - Fixes `pop` and `push` to update urls correctly.

View File

@ -91,9 +91,8 @@ import 'typedefs.dart';
/// ``` /// ```
/// In the above example, if /family route is matched, it will be used. /// In the above example, if /family route is matched, it will be used.
/// else /:username route will be used. /// else /:username route will be used.
/// /// ///
/// See [Sub-routes](https://github.com/flutter/packages/blob/main/packages/go_router/example/lib/sub_routes.dart) /// See [main.dart](https://github.com/flutter/packages/blob/main/packages/go_router/example/lib/main.dart)
/// for a complete runnable example.
@immutable @immutable
abstract class RouteBase { abstract class RouteBase {
const RouteBase._({ const RouteBase._({

View File

@ -30,7 +30,7 @@ import 'typedefs.dart';
/// changes. /// changes.
/// ///
/// See also: /// See also:
/// * [Configuration](https://pub.dev/documentation/go_router/topics/Configuration-topic.html) /// * [Configuration](https://pub.dev/documentation/go_router/latest/topics/Configuration-topic.html)
/// * [GoRoute], which provides APIs to define the routing table. /// * [GoRoute], which provides APIs to define the routing table.
/// * [examples](https://github.com/flutter/packages/tree/main/packages/go_router/example), /// * [examples](https://github.com/flutter/packages/tree/main/packages/go_router/example),
/// which contains examples for different routing scenarios. /// which contains examples for different routing scenarios.

View File

@ -1,7 +1,7 @@
name: go_router name: go_router
description: A declarative router for Flutter based on Navigation 2 supporting description: A declarative router for Flutter based on Navigation 2 supporting
deep linking, data-driven routes and more deep linking, data-driven routes and more
version: 5.2.2 version: 5.2.3
repository: https://github.com/flutter/packages/tree/main/packages/go_router 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 issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+go_router%22