title: Flutter GridView is not scrolling
body: <p>I am adding a header in the grid view. The header is scrolling but when touching grid view. It is not scrolling. I want to scroll header and gridview.
  I have used <code>SingleChildScrollView</code> and <code>Expanded</code>.  How to solve the please help me.</p>
  
  <p>My code is shown below</p>
  
  <pre><code>Widget ItemGridview() {
      return Container(
          color: Colors.white,
      padding: EdgeInsets.all(10),
      child: Column(
              mainAxisAlignment: MainAxisAlignment.start,
          crossAxisAlignment: CrossAxisAlignment.start,
          children: &lt;Widget&gt;[
              new Expanded(
              child: SingleChildScrollView(
              child: Column(
                  children: &lt;Widget&gt;[
                  new Text(
              'Items of products',
              style: TextStyle(fontWeight: FontWeight.w700, fontSize: 18.0),
              textAlign: TextAlign.left,
          ),
                  GridView.count(
              shrinkWrap: true,
              primary: true,
              padding: EdgeInsets.only(top:15.0),
              crossAxisCount: 3,
              childAspectRatio: 0.60, //1.0
              mainAxisSpacing: 0.2, //1.0
              crossAxisSpacing: 4.0, //1.0
              children: createCategoryList(),
              ),
                  ],
              ),
              )
          )
          ]
      ),
      );
  }
  </code></pre>
  
  <p>In my code <strong>Items of products</strong> is the header.</p>
  
  <pre><code>List&lt;Widget&gt; createCategoryList() {
  
    List&lt;Widget&gt; createCategoryList = List&lt;Widget&gt;();
  
    for (int i = 0; i &lt; documents.length; i++) {
      createCategoryList
          .add(makeGridCell(documents[i].data['title'], "name", 8,documents[i].data['id']));
    }
    return createCategoryList;
  }
  
    Container makeGridCell(String name, String image, int count, String id) {
    return Container(
  
        child: new GestureDetector(
          onTap: () {
          },
          child: Column(
            crossAxisAlignment: CrossAxisAlignment.stretch,
            mainAxisSize: MainAxisSize.min,
            verticalDirection: VerticalDirection.down,
            children: &lt;Widget&gt;[
              new Container(
                child: Image.asset('assets/' + image + ".jpg"),
  
              ),
              new Container(
                color: Colors.white,
                padding: EdgeInsets.only(left: 5),
                child: new Text(name,
                    style: TextStyle(
                        fontWeight: FontWeight.w500, fontSize: 18.0)), 
              ),
  
            ],
          ),
        ));
  }
  </code></pre>
  
  <p>The <code>createCategoryList()</code> is the list of items in grid written in widget.</p>