mirror of
https://github.com/flutter/packages.git
synced 2025-06-27 04:37:07 +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
|
||||
|
||||
* 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.
|
||||
|
||||
```dart
|
||||
context.go('/123, extra: 'abc');
|
||||
context.go('/123', extra: 'abc');
|
||||
```
|
||||
|
||||
and retrieve the data from GoRouterState
|
||||
|
@ -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: 12.1.2
|
||||
version: 12.1.3
|
||||
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
|
||||
|
||||
|
Reference in New Issue
Block a user