flutter_masonry_view
0.0.2, released 4 years ago by an unverified publisher
A Masonry grid layout widget for Flutter.
WASM-readyCopyleft license
What it does
Provides a MasonryView widget that arranges items in columns based on available vertical space. It accepts a list of items, a column count, and an itemBuilder callback.
AI-written summary of version 0.0.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a Pinterest‑style masonry grid
- You want a simple, no‑dependency grid layout
- You prefer declarative widget composition
Skip it when
- You need advanced layout features like sticky headers
- You require performance optimizations for very large lists
- You need a fully featured grid package with sorting or filtering
Strengths
- Zero dependencies beyond Flutter
- Easy to use API
- Supports any item type via builder
Weaknesses
- No support for dynamic column changes at runtime
- No built‑in item spacing or padding customization
- Not actively maintained (latest release 0.0.2)
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
Add dependency in pubspec and import package
import 'package:flutter_masonry_view/flutter_masonry_view.dart';
MasonryView(
listOfItem: items,
numberOfColumn: 2,
itemBuilder: (item) => Image.asset(item),
);Alternatives
Packages that do the same job and could replace flutter_masonry_view.
- flutter_staggered_grid_view
More features, active maintenance, supports dynamic columns and spacing
50Compare