SliverGrid
SliverGrid is a sliver widget in the Flutter framework that arranges its children in a two‑dimensional grid within a scrollable area. It is designed to be used inside a CustomScrollView or another sliver-enabled scrollable, allowing the grid to scroll together with other slivers such as SliverAppBar or SliverList. SliverGrid builds its children lazily as they come into view, using a SliverChildDelegate (for example SliverChildBuilderDelegate or SliverChildListDelegate).
Layout for SliverGrid is defined by a gridDelegate, which controls tile sizing and spacing. Common options
SliverGrid differs from GridView in that it is a component of a sliver-based scrolling area rather than
Common usage involves placing a SliverGrid inside a CustomScrollView with an appropriate gridDelegate and a SliverChildDelegate.