-
Notifications
You must be signed in to change notification settings - Fork 28.1k
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
CircularProgressIndicator
throws null exception
#163356
Conversation
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption, contact "@test-exemption-reviewer" in the #hackers channel in Discord (don't just cc them here, they won't see it!). If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix? Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. The test exemption team is a small volunteer group, so all reviewers should feel empowered to ask for tests, without delegating that responsibility entirely to the test exemption group. |
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.
Thanks for your contribution! Could you please a test to verify this fix?
… and year2023 disabled
I've already added and pushed the test. Let me know if any further changes are needed. Thanks |
@TahaTesser could you please help me understand the failed check error and how to fix it? |
CircularProgressIndicator
throws null exception
packages/flutter/test/material/progress_indicator_theme_test.dart
Outdated
Show resolved
Hide resolved
packages/flutter/test/material/progress_indicator_theme_test.dart
Outdated
Show resolved
Hide resolved
The error seems to be related to blank line. Please format the code before pushing the changes. you can execute |
@TahaTesser all requested changes have been made and pushed. Re-requesting your review. Thank you for your detailed guidance and continued support. |
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.
We can do without these semantics lines.
packages/flutter/test/material/progress_indicator_theme_test.dart
Outdated
Show resolved
Hide resolved
packages/flutter/test/material/progress_indicator_theme_test.dart
Outdated
Show resolved
Hide resolved
Golden file changes have been found for this pull request. Click here to view and triage (e.g. because this is an intentional change). If you are still iterating on this change and are not ready to resolve the images on the Flutter Gold dashboard, consider marking this PR as a draft pull request above. You will still be able to view image results on the dashboard, commenting will be silenced, and the check will not try to resolve itself until marked ready for review. For more guidance, visit Writing a golden file test for Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
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!
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, thanks for the contribution 🙏
@dbspoudel |
This PR adds a null check before accessing value, preventing errors caused by the null check operator used on null value.
Fixes #163253
Pre-launch Checklist
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.