flutter_staggered_grid_view
flutter_staggered_grid_view copied to clipboard
Layout Falling effect
I'm using MasonryGridView.builder to get the "pinterest look". however due to images having diff dimensions, as the layout loads i get alot of layout falling/collapsing inorder to take the images dimensions. How can i fix this (tried using placeholder of fixed dimensions but layout falling off still persists).
@BensonGathu Every item should have the same size before and after receiving the image from network.
A good solution to this, is to get the aspect ratio of each images from the API, and use the AspectRatio widget.