Skip to content
Articles
Article

staggered_grid_layout: masonry and quilted grids for Flutter that don't jump

by Abdeldjalil Chougui dev.to

5 min read

A masonry grid, the Pinterest layout, is easy to describe: several columns, items of different heights, and each new item goes into the shortest column. It is harder to scroll. An item's position depends on every item before it, so when the user scrolls down and then back up, the grid has to put each item exactly where it was. If it recomputes instead, items change column, the content jumps under…

Forum

Questions about this, or something to add?

Discuss on the forum

Report this · Wrote this? Claim it

FlutterX is supported by