Replies: 1 comment
-
You can definitely do the widths no problem. Take a look at this example: https://github.com/shyndman/flutter_layout_grid/blob/main/example/lib/responsive_app_layout.dart It demonstrates a layout that changes depending on the screen width. In order to get the layout into thirds, you're going to want to use the fractional unit ( The tricky part is actually the heights (at least if In the meantime, try that example out. You might be able to get something looking acceptable by playing around with things. |
Beta Was this translation helpful? Give feedback.
-
I want to set elements according to the screen size, when the screen width is enough, I want to show element side by side, like in above screenshot, four elements, two on left with width one third of the Gridview width, and the right elements with two third of the width. When screen width is small, just display all elements from top to bottom.
Is this doable with flutter_layout_grid?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions