From 33bcb165b95570d616583dfd273e108714e880a3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 2 May 2023 13:15:20 +1000 Subject: [PATCH] Bump go_router from 6.5.9 to 7.0.0 in /veggieseasons (#1762) Bumps [go_router](https://github.com/flutter/packages/tree/main/packages) from 6.5.9 to 7.0.0.
Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=go_router&package-manager=pub&previous-version=6.5.9&new-version=7.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
--------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Brett Morgan --- veggieseasons/lib/main.dart | 2 +- veggieseasons/pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/veggieseasons/lib/main.dart b/veggieseasons/lib/main.dart index 07943c438..a09b0d8f5 100644 --- a/veggieseasons/lib/main.dart +++ b/veggieseasons/lib/main.dart @@ -214,7 +214,7 @@ class _VeggieAppState extends State with RestorationMixin { parentNavigatorKey: _rootNavigatorKey, path: 'details/:id', pageBuilder: (context, state) { - final veggieId = int.parse(state.params['id']!); + final veggieId = int.parse(state.pathParameters['id']!); return CupertinoPage( restorationId: 'route.details', fullscreenDialog: true, diff --git a/veggieseasons/pubspec.yaml b/veggieseasons/pubspec.yaml index faa0a072c..0b31723aa 100644 --- a/veggieseasons/pubspec.yaml +++ b/veggieseasons/pubspec.yaml @@ -20,7 +20,7 @@ dependencies: git: url: https://github.com/google/flutter-desktop-embedding path: plugins/window_size - go_router: ^6.0.0 + go_router: ^7.0.0 dev_dependencies: analysis_defaults: