staggered_grid library
Public import for SkdxStaggeredGrid and its supporting types.
Classes
- SkdxGridSpan
- Known cell spans for a staggered collection. Cross-axis spans are capped to the current column count so wide tiles still fit narrow responsive layouts.
- SkdxSize
- Touch, border, icon, and content sizing defaults.
- SkdxSpace
- The base spacing scale, in logical pixels.
- SkdxStaggeredGrid
- A lazy row-banded staggered collection with known tile heights. Tiles can span columns and multiple fixed-height cells. Each band's next row begins below its tallest tile; shorter neighbors leave intentional whitespace. This is not masonry or dense packing of unknown intrinsic child heights.
- SkdxStaggeredGridDelegate
- Native sliver geometry for known row-banded spans. Construct once per changed configuration; packing is O(items) at construction, while scrolling uses binary searches and constant-time geometry lookup. No child measurements, intrinsic layouts, custom RenderObject or third-party dependency are needed.