Expand description
Layout strategies for GridView.
See GridLayoutStrategy for the contract and the module
docs there for the shipped strategies.
Structs§
- Tile
Rect - The content-space rect of one tile (before the scroll offset is
subtracted).
x/yare relative to the scrollable content origin. - Uniform
Grid - A uniform grid: fixed row height, columns derived per
GridSizing. - Variable
RowGrid - A grid whose rows are each sized to their tallest tile.
- Virtualized
Masonry - A virtualized waterfall grid.
- Visible
Tile Range - The flat model-index range
[start, end)to realize for a given scroll
Enums§
- Grid
Sizing - Tile sizing policy. Names mirror SwiftUI
GridItem, Flutter’sSliverGridDelegate, and WinUIMinItemWidth. - Scroll
Anchor - Where a programmatically-revealed item should land in the viewport.