Reputation: 435
I need a grid that contains children of fixed sizes.
GridView expands its children, which is not what I need. The grid should simply size itself according to it's children by setting the crossAxisCount.
My current solution is to use simple columns and rows, but that's so much boilerplate code for just a common widget.
Upvotes: 2
Views: 424
Reputation: 355
You will have to do it dynamically, and supply the value of the crossAxisCount
dynamically
Upvotes: 0