letsar/flutter_staggered_grid_view
55.6
Adequate · 23 September 2026
4.2k
lines of production code
Dart
primary language
5
measurements over time
What this system is
This system is a Flutter library that provides a comprehensive set of customizable grid layout widgets, including aligned, masonry, staggered, quilted, staired, and woven grid patterns. It enables developers to create complex, variable-sized, and multi-directional grid arrangements within scrollable views. The codebase includes rendering logic, layout delegates, and utility functions to support these diverse grid configurations.
Features
Add Flutter example app with multiple grid layout demos
Added a complete Flutter example application in the \examples/\ directory, including platform-specific configuration files for Android and iOS, along with Dart code that demonstrates various grid layouts: Aligned, Masonry, Quilted, Staggered, Staired, and Woven. The app features a home screen with menu entries for each layout type, allowing users to explore different grid configurations provided by the \flutter\_staggered\_grid\_view\ package.
examples · high confidence
Add foundation constants and list extensions
The foundation layer now includes a new \constants.dart\ file defining \kZeroGeometry\ as an empty \SliverGridGeometry\, and a new \extensions.dart\ file providing a \findSmallestIndexWithMinimumValue\ method on \List\<num\>\. These additions provide reusable geometry constants and list utility functions for the rest of the application.
lib/src/foundation · high confidence
Add new grid layout widgets: Aligned, Masonry, and Staggered grids
The library introduces new widget classes to support different 2D grid layouts. \AlignedGridView\ and \SliverAlignedGrid\ provide an aligned grid layout where each track has the main axis extent of the widest child. \MasonryGridView\ and \SliverMasonryGrid\ implement a masonry layout, placing children as close as possible to the start of the main and cross axes. \StaggeredGrid\ and \StaggeredGridTile\ allow for staggered arrangements where each child can have a different size. These widgets are designed to be used with \CustomScrollView\ or as standalone scrollable views.
lib/src/widgets · high confidence
Add quilted, staired, and woven grid layout delegates
Added new layout delegates for quilted, staired, and woven grid patterns. The quilted layout supports variable-sized tiles in a repeating pattern, the staired layout arranges tiles in a staggered, alternating direction, and the woven layout creates a complex interlaced pattern with customizable alignment and spacing. These new delegates extend the existing patterned grid infrastructure to support more complex and varied grid designs.
lib/src/layouts · high confidence
Introduce new rendering classes for Masonry, Staggered, and Uniform Track layouts
The rendering layer in \lib/src/rendering\ has been expanded with new classes to support more complex grid and track-based layouts. \RenderSliverMasonryGrid\ and \SliverSimpleGridDelegate\ are introduced to handle Masonry-style layouts where children are placed as close as possible to the start of the main and cross axes. \RenderStaggeredGrid\ and \StaggeredGridDelegate\ are added to support staggered grid layouts where children can have different sizes. Additionally, \RenderUniformTrack\ is added to lay out children in a uniform track with a fixed division. These changes enable the library to support Masonry, Staggered, and Uniform Track layout modes.
lib/src/rendering · high confidence
Behavioural changes
Introduce new grid layout options and widget exports
The library now exports additional grid layout types, specifically quilted, staired, and woven, alongside the existing aligned and masonry grids. Users can now utilize these new layout styles and their corresponding Sliver and standard widgets (e.g., SliverStaggeredGrid, AlignedGrid) for more flexible grid arrangements.
lib · medium confidence
Release of flutter\_staggered\_grid\_view version 0.7.0
This release updates the package to version 0.7.0, which raises the minimum required Flutter version to 3.7.0 and resolves a deprecation warning related to Scrollable.of. The change also includes updated project metadata, a .pubignore file to exclude build and example directories from the published package, and a comprehensive CHANGELOG documenting the history of layout fixes and features.
(repo-wide) · high confidence
Test coverage
Added tests for staggered grid layouts and widgets
Added comprehensive test coverage for the staggered grid view library, including unit and widget tests for the quilted, staired, and woven layout delegates, as well as the AlignedGridView, MasonryGridView, StaggeredGrid, StaggeredGridTile, and UniformTrack components. These tests verify correct layout sizing, positioning, and scroll offset calculations for various grid configurations.
test · high confidence
Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 49 → 56 (+6.5)
- Rubric changed (rubric-2026.08.19 → rubric-2026.09.15) — scores are not directly comparable.
Lenses
- Code Health 100 → 92 (-7.7)
- Architecture 100 → 96 (-3.7)
- Maturity 35 → 47 (+12.3)
- Readiness 26 → 36 (+10.3)
- Security 100 → 100 (+0.0)
- Domain Modelling 100 → 100 (+0.0)
Resolved (6)
- Coverage not included — suite not readable by the collector
- Dependency hygiene not measured — dependency manifest found but not parsed for hygiene
- No exposed public API
- Test reliability not included
- complexity unreadable for .dart, .swift — churn × complexity hotspots could not be measured
- dormant codebase — no living knowledge left to concentrate
New (20)
- Dependency hygiene PARTLY measured — Maven/Gradle declarations read, no dependency graph resolved
- Documentation: no installation or build instructions (README.md)
- Documentation: no usage examples (README.md)
- Duplicated block (10 lines × 2) (examples/lib/main.dart)
- Duplicated block (15 lines × 2) (examples/lib/pages/aligned.dart)
- Duplicated block (17 lines × 2) (examples/lib/main.dart)
- Duplicated block (26 lines × 2) (examples/lib/main.dart)
- Duplicated block (45 lines × 2) (examples/lib/main.dart)
- Duplicated block (5 lines × 2) (examples/lib/pages/aligned.dart)
- Low cohesion: RenderSliverMasonryGrid (LCOM4 4) (lib/src/rendering/sliver_masonry_grid.dart)
- Low cohesion: RenderStaggeredGrid (LCOM4 11) (lib/src/rendering/staggered_grid.dart)
- Low cohesion: RenderUniformTrack (LCOM4 6) (lib/src/rendering/uniform_track.dart)
- MethodTooLong: RenderSliverMasonryGrid.performLayout (lib/src/rendering/sliver_masonry_grid.dart)
- RenderSliverMasonryGrid.performLayout (cognitive 87) (lib/src/rendering/sliver_masonry_grid.dart)
- RenderSliverMasonryGrid.performLayout (cyclomatic 52) (lib/src/rendering/sliver_masonry_grid.dart)
- RenderStaggeredGrid._computeSize (cognitive 30) (lib/src/rendering/staggered_grid.dart)
- RenderStaggeredGrid._computeSize (cyclomatic 17) (lib/src/rendering/staggered_grid.dart)
- SliverStairedGridDelegate.getGeometries (cognitive 32) (lib/src/layouts/staired.dart)
- SliverStairedGridDelegate.getGeometries (cyclomatic 16) (lib/src/layouts/staired.dart)
- TodoComment (lib/src/layouts/sliver_patterned_grid_delegate.dart)
Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
letsar/flutter_staggered_grid_view was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 23 September 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 0bfd05f285a6ecf390a8927e6ad4e67f7a39979b — the exact code this score is about.
- Scored under rubric-2026.09.15 — the same rubric and the same method as every other entry in this index.
- Measured by watchdog.canine.dev using codehealth-analyzer preprod-955b9cee9818.