-
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
The intrinsic dimension methods of the RenderParagraph class returned values that violate the intrinsic protocol contract. #15829
Comments
Does this work on the master branch of Flutter? I commented out the missing parts of the app (such as the AnswerButton and StatementText widgets) and was able to run the test successfully on the master branch. If it's still failing, then we would need complete source code for the app to debug further. |
Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away! |
i think i have more info on this, i have a FadeInImage.memoryNetwork inside a stack inside an aspect ratio as per this
and it throws this ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
The relevant error-causing widget was: When the exception was thrown, this was the stack: The following RenderObject was being processed when the exception was fired: RenderAspectRatio#95173 relayoutBoundary=up25 NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE: it goes on through the heirarchy giving me all the parents issues too but the full log was too much for paste bin |
commenting out the width and height of the image removes the error, and i also only get the error when running the test from android studio, running the flutter run command and pointing it to the test file makes it run on the emulator without error and it doesnt have any issue in my actual app |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Steps to Reproduce
This is similar to #11082 but the exception is a bit different.
I only get this exception when running
flutter test
(flutter run
does not throw).Source
widget_test.dart
main.dart
landing_page.dart
quiz_page.dart
Logs
Flutter Doctor
The text was updated successfully, but these errors were encountered: