How to create Card list with multiple Sizes in flutter?

91 Views Asked by At

enter image description hereI want to make Card list for products with multiple sizes like if the builder crossAxisCount:2, one should be square card and the other is rectangle card to seem catchy to eye

i tried to add the sizes by my self for each element with Random and was not the best solution

1

There are 1 best solutions below

0
On

You can used this package flutter_staggered_grid_view

https://pub.dev/packages/flutter_staggered_grid_view

it will help you to use random size cards