xxxxxxxxxx
The key is the childAspectRatio. This value is use to determine the layout
in GridView. In order to get the desired aspect you have to set it to the
(itemWidth / itemHeight).
xxxxxxxxxx
// Just Wrap the GridView item in Column!
GridView(
itemBuilder: (context, i) =>
Column(
children: [
Container(height: 50,color: Colors.green)
],
)
)