-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Update navigation_and_routing sample to go_router #2067
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update navigation_and_routing sample to go_router #2067
Conversation
|
@domesticmouse @parlough PTAL |
|
Looks like the CI is cranky: Analyzing navigation_and_routing...
warning - lib/src/screens/authors.dart:11:7 - This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: AuthorsScreen.onTap - must_be_immutable
warning - lib/src/screens/books.dart:6:8 - Unused import: 'package:go_router/go_router.dart'. Try removing the import directive. - unused_import
info - lib/src/app.dart:61:17 - The 'child' argument should be last in widget constructor invocations. Try moving the argument to the end of the argument list. - sort_child_properties_last
3 issues found. |
domesticmouse
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM once CI passes
parlough
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me after one fix.
Please do consider updating the README for the new state of the sample though. Or stripping out the outdated parts :)
This is a new PR to update the navigation_and_routing sample to the latest version of go_router. It is a based on #1437