-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Refactor RouterDelegate attempt 2 #2189
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
Conversation
f5b85e3 to
56056d8
Compare
|
@stuartmorgan this change requires Flutter 3.0, which means that these CI steps are failing: Does this CI step need to pass before we land this change? |
Every CI step needs to land before landing a change. Per https://github.com/flutter/flutter/wiki/Contributing-to-Plugins-and-Packages#when-to-update-the-required-version (second bullet point) all you need to do is express the correct Flutter constraint to avoid those steps failing. (Currently the tooling only looks at Flutter constraints, not Dart constraints; it's something we should fix at some point, but in this case the package already requires Flutter so a Flutter constraint shouldn't have any downsides.) |
…search doesn't find any
bump go_router_builder to 1.0.5
Analyzing go_router...
error - lib/src/go_route_information_provider.dart:24:41 - A value of type 'WidgetsBinding?' can't be returned from the function '_binding' because it has a return type of 'WidgetsBinding'. - return_of_invalid_type
error - lib/src/go_router.dart:51:33 - The property 'platformDispatcher' can't be unconditionally accessed because the receiver can be 'null'. Try making the access conditional (using '?.') or adding a null check to the target ('!'). - unchecked_use_of_nullable_value
2 issues found.
Co-authored-by: Loïc Sharma <[email protected]>
Co-authored-by: Loïc Sharma <[email protected]>
Co-authored-by: Loïc Sharma <[email protected]>
Co-authored-by: Loïc Sharma <[email protected]>
Co-authored-by: Loïc Sharma <[email protected]>
3d3d53a to
fb7c15e
Compare
loic-sharma
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, great work!
* Call log.clearListeners to disable logging * Remove debugLogDiagnostics from GoRouterDelegate fixes #104470 * Add logging test * format * Fix copyright header * Specify types * Use version 4.0.1 Depends on #2189 * disable logging in tests * remove print * Update CHANGELOG.md
Reverts #2183 to re-land #1653 with #2177 included