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

Determine whether a widget has a box layout before trying to show the layout explorer #8278

Merged
merged 6 commits into from
Sep 23, 2024

Conversation

elliette
Copy link
Member

Fixes #8238

Currently selecting a widget with no size triggers a null-assert error.

Instead, we are checking whether a widget has size before showing the layout explorer.

@elliette elliette requested a review from a team as a code owner August 29, 2024 18:53
@elliette elliette requested review from bkonyi and removed request for a team August 29, 2024 18:53
@elliette elliette merged commit 34bf480 into flutter:master Sep 23, 2024
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Inspector V2] Determine whether a node has a box layout
3 participants