title: Flutter Gridview in Column. What's solution..?
body: <p>I have a problem with gridview and column. In this case, i want put an image in upper of gridview. Please give me a solution..</p>
  
  <pre><code>return new Container(
    child: new Column(
      children: &lt;Widget&gt;[
        new Container(
          child: new Image.asset(
            "assets/promo.png",
            fit: BoxFit.cover,
          ),
        ),
        new Container(
          child: new GridView.count(
            crossAxisCount: 2,
            childAspectRatio: (itemWidth / itemHeight),
            controller: new ScrollController(keepScrollOffset: false),
            shrinkWrap: true,
            scrollDirection: Axis.vertical,
            children: new List&lt;Widget&gt;.generate(16, (index) {
              return new GridTile(
                  header: new Container(
                    padding: const EdgeInsets.all(10.0),
                    alignment: Alignment.centerRight,
                    child: new Icon(
                      Icons.shopping_cart,
                      size: 20.0,
                      color: Colors.red,
                    ),
                  ),
                  child: new MyList(
                    nomor: '$index',
                  ));
            }),
          ),
        ),
      ],
    ),
  );
  </code></pre>
  
  <p>and this is the result:
  <a href="https://i.stack.imgur.com/YLjvz.png" rel="noreferrer">Flutter Gridview in Column</a></p>