Flutter App Inspired by Udemy Flutter & Dart The Complete Guide
Gridview Builder
-
To structure the grid you will need to make use of one of the arguments -- gridDelegate
-
For gridDelegate we used the widget, SliverGridDelegateWithFixedCrossAxisCount() which takes in the four arguments:
-
crossAxisCount - the amount of columns you want in the grid.
-
childAspectRatio - height vs. width
-
crossAxisSpacing - space between the columns
-
mainAxisSpacing - space between the rows
-
Enum
- A way to assign labels to integers.