Skip to content

Conversation

@johnpryan
Copy link
Contributor

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

@johnpryan
Copy link
Contributor Author

@domesticmouse @parlough PTAL

@domesticmouse
Copy link
Contributor

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.

Copy link
Contributor

@domesticmouse domesticmouse left a 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

Copy link
Member

@parlough parlough left a 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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants