title: Unable to set dynamic height for a Column involving ListView.builder() flutter
body: <p>I have the following code where I'm trying to make a column inside which is a container containing title, and another container containing a list of items, that is scrollable horizontally. But I get the following runtime error - &quot;
  The following assertion was thrown during performResize():
  Horizontal viewport was given unbounded height.</p>
  <p>Viewports expand in the cross axis to fill their container and constrain their children to match their extent in the cross axis. In this case, a horizontal viewport was given an unlimited amount of vertical space in which to expand.&quot;</p>
  <pre><code>Widget horizontalSlider(MediaQueryData mediaQuery){
    final List&lt;String&gt; entries = &lt;String&gt;['A', 'B', 'C','D','E'];
    return Container(
      padding: EdgeInsets.all(0),
      child: Column(
        crossAxisAlignment: CrossAxisAlignment.start,
        children: [
          Container(
              padding: EdgeInsets.only(left:16),
              child: Text(&quot;Home&quot;,style: TextStyle(fontSize: 36, fontWeight: FontWeight.bold),)
          ),
          Container(
            child: ListView.builder(
            padding: EdgeInsets.all(8),
            itemCount: entries.length,
            itemBuilder: (BuildContext context, int index){
              return Column(
                children: &lt;Widget&gt;[
                  Container(
                    height: mediaQuery.size.height/3,
                    margin: EdgeInsets.all(8),
                    decoration: BoxDecoration(
                      image: DecorationImage(
                        image: AssetImage('assets/images/$index.jpg'),
                        fit: BoxFit.cover,
                      ),
                      borderRadius: BorderRadius.circular(18),
                      boxShadow: [BoxShadow(
                        color: Colors.grey.withOpacity(0.5),
                        spreadRadius: 4,
                        blurRadius: 4,
                      ),],
                    ),
                    width: mediaQuery.size.width/1.5,
                  ),
                  Text(&quot;Item ${entries[index]}&quot;,style: TextStyle(fontSize: 18),),
                ],
              );
            },
            scrollDirection: Axis.horizontal,
        ),
          )],
      ),
    );
  }
  </code></pre>
  <p>What I expect from this is a heading (i.e. the first container inside the first column), an image of height equal to one-third of screen height and a Text widget at the end. But why do I get the error I cannot understand.</p>