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

multi autoscale_tabbarview not working #5

Open
edwinmrb opened this issue Oct 31, 2022 · 2 comments
Open

multi autoscale_tabbarview not working #5

edwinmrb opened this issue Oct 31, 2022 · 2 comments

Comments

@edwinmrb
Copy link

When working multi autoscale_tabbarview does not calculate the height of the parent,
I am attaching a screenshot of what the bug currently looks like, and what it should look like.

BUG

@JiangHongTiao
Copy link

JiangHongTiao commented Mar 22, 2023

I have the same problem and it seems that it's not detecting the size of inner widgets correctly. The widget uses SizeDetectorWidget which is calculating the size of displayed widget. However, as flutter renders as a tree, the outer widget detects it's size earlier than inner widget. So the size of inner widget is not fully computed in time outer widget computes it, so it does not compute outer's size correctly. My knowledge of flutter widgets is not super deep, so I actually don't know how to solve it. The outer widget would need to update it's size after inner widget computes it's size. Unfortunately I'm not able to make PR for this, does anyone know how it could be fixed? It would help me as well.

@39251474
Copy link

39251474 commented Apr 6, 2023

framework SizeChangedLayoutNotifier
#7 #8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants