title: Expand a Row inside a Column Flutter
body: <p>I have a ListView which takes a half of a screen. The design of my listview is a row with two expanded (flex 1 color grey [for design] and flex 10 color bluegrey [for the content of my list]).</p>
  <p>I would like to expand the design of my listview to the rest of the screen. I think that I can do it by wrapping my listview in a column, and put an expanded with a row and my two expanded but it didn't work ...
  Everything is wrapped inside a SingleChildScrollView.</p>
  <p>The exception caught is : RenderFlex children have non-zero flex but incoming height constraints are unbounded.</p>
  <p>Here is the code :</p>
  <pre><code>SingleChildScrollView(
      child: Column(
        children: &lt;Widget&gt;[
          Container(
            color: Colors.grey,
            child: ListView.builder(
              shrinkWrap: true,
              physics: NeverScrollableScrollPhysics(),
              itemBuilder: (context, index) {
                return DossierTile(
                  dossier: dossier[index],
                );
              },
              itemCount: length,
            ),
          ),
          //Expanded( // I try to add this expanded but it didn't work.
            child: Row(
              children: &lt;Widget&gt;[
                Expanded(
                  flex: 1,
                  child: Container(
                    color: Colors.grey,
                  ),
                ),
                Expanded(
                  flex: 10,
                  child: Container(
                    color: Colors.blueGrey,
                  ),
                ),
              ],
            ),
          //)
        ],
      ),
    );
  </code></pre>
  <p>Here is a picture of what I'm looking for :</p>
  <p><a href="https://i.stack.imgur.com/Z9iL4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Z9iL4.png" alt="enter image description here" /></a></p>