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

How to get every row in a vertical grid to be the height of the tallest row in the grid? #352

Open
paulhwangfti opened this issue Jul 31, 2024 · 0 comments

Comments

@paulhwangfti
Copy link

paulhwangfti commented Jul 31, 2024

Is it possible with this package for the height of a row within the grid view to depend on the height of the tallest row in the gridview? For example, say in the picture below that the tallest row in the grid is the red row, would there be a way to render both green and orange row to be the same height?
image

The closest solution I was able to encounter was the Aligned grid but that ensures that all the children within a row are the same height, not each row within the grid itself.

I'm aware that this is possible with the default GridView widget in Flutter with the childAspectRatio and/or mainAxisExtent but the issue is that the content of each child is dynamic and could result in overflow (i.e: if the content underneath the circle is too long or the user sets their font size in their phone settings to be huge)

Any help and insight would be helpful :)

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

1 participant