-
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
Failed assertion: line x pos y: '!_needsLayout': is not true. #78172
Comments
@Octofoxy |
@darshankawar flutter doctor -v console output below: [√] Flutter (Channel stable, 1.22.5, on Microsoft Windows [Version 10.0.19042.867], locale de-DE) [√] Android toolchain - develop for Android devices (Android SDK version 30.0.3) [!] Android Studio (version 4.1.0) [√] VS Code (version 1.54.2) [√] Connected device (1 available) |
@Octofoxy |
@darshankawar
|
@darshankawar Are there any updates on this issue? It's stalling our project at the moment. |
@darshankawar It has been almost two weeks since I last heard from you. Would you please give me a quick confirmation that this bug is being actively worked on? |
@Octofoxy console error log
full code sample
flutter doctor -v
Keeping this open for further analysis. |
I'm getting the same with Text. No Slider here.
|
same problem here flutter doctor -v
logs
This bug occurs when changing tabs with bottom navigation on scaffold widgets. homeScreen code
|
When I clear the PageStorageKey the bug doesn't appear. |
I got an error message, which asks me to file a bug report. You can find the lib folder and pubspec.yaml in the zip.
Short explanation of what you will find in the zip:
I built a widget, "MultiSlider", which uses the standard Flutter sliders. The widgets returns a master slider and a number of subsliders. The sum of the subsliders values can never exceed the value of the masterslider. The widget itself works fine without errors.
I also have a custom thumb button, which itself works fine and without errors on the example slider from the Flutter documentation. However, when I introduced SliderTheme() to use the custom thumb button with the sliders contained in my MultiSlider widget, I got those errors.
lib.zip
The text was updated successfully, but these errors were encountered: