Sanjib Sinha posted: " Photo by Sonika Agarwal on Unsplash The GridTile in Flutter is a subclass of Stateless Widget, which is a scrollable grid of tiles. And GridTile typically uses GridTileBar Widget either in header or footer. Not both, at the same time. Also Grid"
The GridTile in Flutter is a subclass of Stateless Widget, which is a scrollable grid of tiles. And GridTile typically uses GridTileBar Widget either in header or footer. Not both, at the same time.
Also GridTile must have a child. However, the GridTileBar stateless widget that returns an IconButton widget.
Suppose we're going to build a book buying e-cart flutter app.
In such a scenario, we can have a scrollable grid of tiles that will place the Book items first. Next, moreover, on each book image we can have two GridTileBar widgets.
Certainly, without the help of GridView widget, we couldn't make that. So let us start from the Material design section.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.