Uh oh!
There was an error while loading. Please reload this page.
[go_router] implemented helpers for StatefulShellRoute - #4228
Conversation
chunhtai
commented
Jun 16, 2023
Can you also link a go_router_builder pr? |
Yes, but the go_router_builder PR is still a draft because I need to merge the go_router pr first and update the dependency in go_router_builder |
chunhtai
commented
Jun 16, 2023
that is fine, it is easier to review after knowing the whole picture |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
chunhtai
left a comment
There was a problem hiding this comment.
I think most of the code LGTM, can you also update the go_router_builder pr so that i can review as a whole?
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
hannah-hyj
commented
Jun 28, 2023
updated the go_router_builder pr |
| branches: branches, | ||
| builder: builder, | ||
| pageBuilder: pageBuilder, | ||
| restorationScopeId: restorationScopeId, |
There was a problem hiding this comment.
this should also be in line 260, also how would one specify this in TypeStatefulShellRoute?
There was a problem hiding this comment.
we should also consider adding this to TypedShellRoute
| List<RouteBase> routes = const <RouteBase>[], | ||
| }) { | ||
| return StatefulShellBranch( | ||
| routes: routes, |
There was a problem hiding this comment.
how does one specify initialLocation and restorationScopeId? we may also want a way to specify observers
flutter/packages@b61eea1...4469c5e 2023-07-08 engine-flutter-autoroll@skia.org Roll Flutter from d55a7d8 to 65ff3cb (21 revisions) (flutter/packages#4413) 2023-07-08 stuartmorgan@google.com [tool] Update Dart SDK version (flutter/packages#4402) 2023-07-08 stuartmorgan@google.com [url_lancher] Don't use `canLaunchUrl` in Link (flutter/packages#4400) 2023-07-08 32242716+ricardoamador@users.noreply.github.com Remove unused autosubmit configuration file (flutter/packages#4410) 2023-07-07 49699333+dependabot[bot]@users.noreply.github.com [file_selector]: Bump androidx.annotation:annotation from 1.5.0 to 1.6.0 in /packages/file_selector/file_selector_android/android (flutter/packages#4312) 2023-07-07 engine-flutter-autoroll@skia.org Roll Flutter from bc49cd1 to d55a7d8 (17 revisions) (flutter/packages#4403) 2023-07-07 tarrinneal@gmail.com [shared_preferences] Variable binding in a condition requires an initializer fix (flutter/packages#4407) 2023-07-07 jhy03261997@gmail.com [go_router] implemented helpers for StatefulShellRoute (flutter/packages#4228) 2023-07-07 34871572+gmackall@users.noreply.github.com [in_app_purchase_android] Bump com.android.billingclient:billing from 5.2.0 to 6.0.0. (flutter/packages#4390) 2023-07-07 stuartmorgan@google.com [tool] Use 'flutter pub get' for Flutter packages (flutter/packages#4397) 2023-07-07 stuartmorgan@google.com [ci] Enable LUCI stable custom Linux tests (flutter/packages#4404) 2023-07-07 stuartmorgan@google.com [tool] Fix --current-package for app-facing packages (flutter/packages#4399) 2023-07-07 stuartmorgan@google.com [ci] Switch some tests to LUCI (flutter/packages#4395) 2023-07-07 tarrinneal@gmail.com [flutter_markdown] Pass parent TextStyle down to MarkdownElementBuilder.visitElementAfter (flutter/packages#4393) 2023-07-07 49699333+dependabot[bot]@users.noreply.github.com Bump github/codeql-action from 2.3.3 to 2.20.3 (flutter/packages#4394) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages-flutter-autoroll Please CC flutter-ecosystem@google.com,rmistry@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
flutter/packages@b61eea1...4469c5e 2023-07-08 engine-flutter-autoroll@skia.org Roll Flutter from d55a7d8 to 65ff3cb (21 revisions) (flutter/packages#4413) 2023-07-08 stuartmorgan@google.com [tool] Update Dart SDK version (flutter/packages#4402) 2023-07-08 stuartmorgan@google.com [url_lancher] Don't use `canLaunchUrl` in Link (flutter/packages#4400) 2023-07-08 32242716+ricardoamador@users.noreply.github.com Remove unused autosubmit configuration file (flutter/packages#4410) 2023-07-07 49699333+dependabot[bot]@users.noreply.github.com [file_selector]: Bump androidx.annotation:annotation from 1.5.0 to 1.6.0 in /packages/file_selector/file_selector_android/android (flutter/packages#4312) 2023-07-07 engine-flutter-autoroll@skia.org Roll Flutter from bc49cd1 to d55a7d8 (17 revisions) (flutter/packages#4403) 2023-07-07 tarrinneal@gmail.com [shared_preferences] Variable binding in a condition requires an initializer fix (flutter/packages#4407) 2023-07-07 jhy03261997@gmail.com [go_router] implemented helpers for StatefulShellRoute (flutter/packages#4228) 2023-07-07 34871572+gmackall@users.noreply.github.com [in_app_purchase_android] Bump com.android.billingclient:billing from 5.2.0 to 6.0.0. (flutter/packages#4390) 2023-07-07 stuartmorgan@google.com [tool] Use 'flutter pub get' for Flutter packages (flutter/packages#4397) 2023-07-07 stuartmorgan@google.com [ci] Enable LUCI stable custom Linux tests (flutter/packages#4404) 2023-07-07 stuartmorgan@google.com [tool] Fix --current-package for app-facing packages (flutter/packages#4399) 2023-07-07 stuartmorgan@google.com [ci] Switch some tests to LUCI (flutter/packages#4395) 2023-07-07 tarrinneal@gmail.com [flutter_markdown] Pass parent TextStyle down to MarkdownElementBuilder.visitElementAfter (flutter/packages#4393) 2023-07-07 49699333+dependabot[bot]@users.noreply.github.com Bump github/codeql-action from 2.3.3 to 2.20.3 (flutter/packages#4394) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages-flutter-autoroll Please CC flutter-ecosystem@google.com,rmistry@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
issue: [#127371](flutter/flutter#127371) go_router_builder_pr flutter#4238
issue: [#127371](flutter/flutter#127371) go_router_builder_pr flutter#4238
issue: #127371
go_router_builder_pr #4238
Pre-launch Checklist
dart format.)[shared_preferences]pubspec.yamlwith an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.CHANGELOG.mdto add a description of the change, following repository CHANGELOG style.///).If you need help, consider asking for advice on the #hackers-new channel on Discord.