-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Make sure that a SpellCheckSuggestionsToolbar doesn't crash in 0x0 en… #177965
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
Make sure that a SpellCheckSuggestionsToolbar doesn't crash in 0x0 en… #177965
Conversation
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.
Code Review
This pull request adds a widget test for SpellCheckSuggestionsToolbar. The new test verifies that the widget does not crash when placed within a zero-sized container, which is intended to address a reported issue. The test creates a SpellCheckSuggestionsToolbar inside a SizedBox.shrink and asserts that its size is zero. Based on the provided diff, this change only includes the test case and not the corresponding implementation fix. As a result, the pull request appears incomplete, and the new test is expected to fail without the fix.
flutter#177965) This is my attempt to handle flutter#6537 for the SpellCheckSuggestionsToolbar widget.
flutter#177965) This is my attempt to handle flutter#6537 for the SpellCheckSuggestionsToolbar widget.
flutter#177965) This is my attempt to handle flutter#6537 for the SpellCheckSuggestionsToolbar widget.
This is my attempt to handle #6537 for the SpellCheckSuggestionsToolbar widget.