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
Tabbular App Bar fails in one project but succeeds in another #11267
Comments
Hi @hungrymonkey, |
Hi @Piinks, Yes, the links are broken. I deleted the project a long time ago. The bug is nested scaffolds. I believe another flutter maintainer has commented any nested scaffolds behavior is undefined. You can close this bug whenever you wish since this bug has many duplicates. |
Ah. Thank you for clarifying. I'm going to see if I can find one of these dupes that we can refer to before closing. Thanks! |
Thanks much! I will close this issue then. :) |
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
I am learning how to create mobile apps at the moment. I cannot give an in-depth bug report. I am reporting a bug because similar code does not render.
In lib/views/main.dart, setting the TabBarView seems to fail in one application but succeed in another. Of course, I can manually create a widget list and not use a switch and map statements. I wonder if this code is worthy of a bug report.
working build
https://github.com/hungrymonkey/pregnant_watermelon/tree/567712d47f31e26b53eb6ebc203f73324e404248
https://github.com/hungrymonkey/pregnant_watermelon/blob/567712d47f31e26b53eb6ebc203f73324e404248/lib/main.dart
failed build
https://github.com/hungrymonkey/weather_app/blob/df30be259af667ffd06546eb73795031a5b7a881/lib/main.dart
https://github.com/hungrymonkey/weather_app/tree/df30be259af667ffd06546eb73795031a5b7a881
Step to repoduce
Expected Results
Reproduce the same steps with pregnant watermelon commit 7fbb55828d3b0986fcee559bde351a119803bf1b
The TabBarView renders properly.
I am wondering what am I doing differently between pregnant_watermelon and weather_app. The code is almost the same but one fails and the other succeeds. The pages does not matter because I change the page in pregnant_watermelon to the same all MyHomePage and it succeeded.
Either throw warning sign in pregnant_watermelon or throw a better error in my_weather app to figure out what is going on.
Logs
Run your application with
flutter run
and attach all the log output.Run
flutter analyze
and attach any output of that command also.flutter_run_log.txt
analyze_log.txt
Flutter Doctor
Paste the output of running
flutter doctor
here.The text was updated successfully, but these errors were encountered: