Results for “GridView”
Full-text search across Boring Doc explanations, official documentation pages, the Flutter API index and every indexed version change.
Concepts
Guides
- Layouts in Flutterdoc
Learn how Flutter's layout mechanism works and how to build your
- Create a grid listdoc
widget. The simplest way to get started using grids is by using the GridView.count() constructor, because it allows you to specify how many rows or columns
- Scrollingdoc
much more performant scrolling experience. For more information, check out ListView.builder or GridView.builder . Specialized scrollable widgets The following widgets provide more specific scrolling behavior. A video on using
- Common Flutter errorsdoc
How to recognize and resolve common Flutter framework errors. Introduction This page
API reference
- GridViewclass
scrollable, 2D array of widgets. widgets.GridView GridView Grid View class widgets
- GridView.newconstructor
Creates a scrollable, 2D array of widgets with a custom SliverGridDelegate. widgets.GridView.GridView.new GridView new Grid View.new constructor widgets
- GridView.builderconstructor
Creates a scrollable, 2D array of widgets that are created on demand. widgets.GridView.GridView.builder GridView builder Grid View.builder constructor widgets
- GridView.customconstructor
array of widgets with both a custom SliverGridDelegate and a custom SliverChildDelegate. widgets.GridView.GridView.custom GridView custom Grid View.custom constructor widgets
- GridView.countconstructor
widgets with a fixed number of tiles in the cross axis. widgets.GridView.GridView.count GridView count Grid View.count constructor widgets
- GridView.extentconstructor
widgets with tiles that each have a maximum cross-axis extent. widgets.GridView.GridView.extent GridView extent Grid View.extent constructor widgets
Version changes
- feat: Add `mainAxisExtent` parameter to `GridView` constructors3.41.0new-feature
feat: Add `mainAxisExtent` parameter to `GridView` constructors (Framework, by @nebkat). GridView
- Deprecated cacheExtent and cacheExtentStyle3.44.0deprecated
Flutter 3.44 deprecates `cacheExtent` and `cacheExtentStyle` in scrolling-related widgets, such as `ListView`, `GridView`, `CustomScrollView`, and `Viewport`, and their corresponding render objects, such as `RenderViewport