responsive_grid
2.4.4, released 3 years ago by an unverified publisher
Responsive grid system for Flutter with row/column, list, and staggered list widgets
What it does
Provides Bootstrap‑style grid layout widgets (ResponsiveGridRow/Col), a responsive list that auto‑fits items, and a staggered list. Includes utilities for responsive widgets, builders, and value selection based on breakpoints.
AI-written summary of version 2.4.4, based on the package's README and metadata. Report an inaccuracy
Use it when
- Need a flexible grid layout that adapts to multiple screen sizes
- Want to avoid manual MediaQuery calculations for grid widths
- Need a responsive list that automatically adjusts item count per row
Skip it when
- You only need a simple GridView or ListView without breakpoint logic
- You prefer a custom grid implementation with more control over layout logic
Strengths
- Easy to use Bootstrap‑style API
- Supports custom breakpoints and segment counts
- Includes responsive utilities (builder, widget, value)
- Offers staggered grid for variable item heights
Weaknesses
- No support for scrolling direction changes or complex nested grids
- Limited to 12‑segment default (though configurable)
- No built‑in theming or styling beyond basic layout
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
Add dependency, import package, call initScaling() if using scale() function, optionally override breakpoints before runApp
ResponsiveGridRow(
children: [
ResponsiveGridCol(lg: 12, child: Text('lg : 12')),
ResponsiveGridCol(xs: 6, md: 3, child: Text('xs : 6 \r\nmd : 3')),
],
)Alternatives
Packages that do the same job and could replace responsive_grid.
- responsive_framework
Provides similar responsive utilities and grid system with more extensive breakpoint handling
50Compare - responsive_builder
Offers responsive widgets and builders but without grid layout
50Compare - sizer
Simpler size utilities but no grid widgets
63Compare