responsive_grid_list
1.4.1, released a year ago by htoenjes.de
Responsive grid list widget using ListView.builder for efficient large lists
WASM-ready
What it does
It builds a grid where each row has items of equal width and height, automatically adjusting the number of items per row based on screen width. The widget exposes spacing, margin, and min/max item constraints for flexible layouts.
AI-written summary of version 1.4.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- Need a responsive grid that adapts to screen size
- Working with large lists where performance matters
- Want to avoid GridView’s overhead for simple grids
Skip it when
- Items require varying heights per row
- You need a fixed aspect ratio for every item
- You need complex staggered layouts
Strengths
- High performance via ListView.builder
- Easy to customize spacing and margins
- Supports both ListView and SliverList
Weaknesses
- All items share the same height per row
- No built‑in fixed height or aspect ratio option
- Limited to uniform item widths
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
ResponsiveGridList(
minItemWidth: 200,
minItemsPerRow: 2,
maxItemsPerRow: 4,
children: List.generate(20, (i) => Card(child: Text('Item $i'))),
)Alternatives
Packages that do the same job and could replace responsive_grid_list.
- flutter_staggered_grid_view
Provides more layout options like staggered grids and fixed aspect ratios
50Compare
Works with
Packages commonly used together with responsive_grid_list: ones it builds on, ones built on it, and its own family.