mirror of
https://github.com/flutter/packages.git
synced 2025-06-30 23:03:11 +08:00
[go_router] Fix(docs): Typo in Update navigation.md (#5545)
Fixed a typo in navigation.md: ```dart context.go('/123, extra: 'abc'); ``` to ```dart context.go('/123', extra: 'abc'); ``` *List which issues are fixed by this PR. You must list at least one issue.* *If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].*
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
## 12.1.3
|
||||||
|
|
||||||
|
* Fixes a typo in `navigation.md`.
|
||||||
|
|
||||||
## 12.1.2
|
## 12.1.2
|
||||||
|
|
||||||
* Fixes an incorrect use of `extends` for Dart 3 compatibility.
|
* Fixes an incorrect use of `extends` for Dart 3 compatibility.
|
||||||
|
@ -88,7 +88,7 @@ onTap: () => context.pop(true)
|
|||||||
You can provide additional data along with navigation.
|
You can provide additional data along with navigation.
|
||||||
|
|
||||||
```dart
|
```dart
|
||||||
context.go('/123, extra: 'abc');
|
context.go('/123', extra: 'abc');
|
||||||
```
|
```
|
||||||
|
|
||||||
and retrieve the data from GoRouterState
|
and retrieve the data from GoRouterState
|
||||||
|
@ -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: 12.1.2
|
version: 12.1.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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user