[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:
Marin Mikaël
2023-12-08 08:26:19 +09:00
committed by GitHub
parent 0b78be3c08
commit a9ba0fd780
3 changed files with 6 additions and 2 deletions

View File

@ -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.

View File

@ -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

View File

@ -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