Flutter layout with grid at center
01:53 28 Mar 2018

I'm trying to create a Flutter layout with 6x6 square table (grid) at the center of the screen and some elements above/below the grid. What is the best way to do so?

I've implemented centered grid as

Center() => AspectRatio(aspectRatio: 1) => GridView();

but how to place the rest elements? I thought about using Stack() but decided that this is not the best solution. Or should I do this using Row() widget, and if so, how do I align second child of the row in center?

Thanks for your help!

UPD: Here's the picture of what I meant to do

Here's the picture of what I meant to do.

I want to place two more containers below and above the grid and want them to fill all available space

gridview layout dart flutter