Skip to content
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

Null safety for Shimmer effect #10071

Merged
merged 7 commits into from
Jan 31, 2024
Merged

Null safety for Shimmer effect #10071

merged 7 commits into from
Jan 31, 2024

Conversation

agavrel
Copy link
Contributor

@agavrel agavrel commented Jan 21, 2024

Description of what this PR is changing or adding, and why:
check that context.findRenderObject() != null

Issues fixed by this PR (if any):
prevent "type 'Null' is not a subtype of type 'RenderBox' in type cast" segmentation fault

Presubmit checklist

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.

Please see https://github.com/dart-lang/site-shared/blob/main/doc/code-excerpts.md on how to update the code excerpts. Thanks!

@atsansone atsansone added the review.await-update Awaiting Updates after Edits label Jan 23, 2024
@domesticmouse
Copy link
Contributor

/gcbrun

@flutter-website-bot
Copy link
Collaborator

flutter-website-bot commented Jan 29, 2024

Visit the preview URL for this PR (updated for commit 32026f0):

https://flutter-docs-prod--pr10071-master-9rx7ndbg.web.app

domesticmouse and others added 3 commits January 31, 2024 13:20
Co-authored-by: Navaron Bracke <brackenavaron@gmail.com>
@domesticmouse
Copy link
Contributor

/gcbrun

@domesticmouse domesticmouse merged commit db6fa0b into flutter:main Jan 31, 2024
9 checks passed
atsansone pushed a commit to atsansone/website that referenced this pull request Feb 15, 2024
atsansone pushed a commit to atsansone/website that referenced this pull request Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review.await-update Awaiting Updates after Edits
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants