title: Flutter How To Size Horizontal Scrollable In Vertical Layout
body: <p>I'm having trouble working out how to size a <strong>horizontal</strong> scrollable (<code>ListView</code>) within a vertical layout (a vertical <code>ListView</code> in this case).</p>
  <p>I want the ListView to be as tall as its contents but am unsure how to achieve this with a horizontal scrollable.</p>
  <p>For example:</p>
  <pre><code>ListView(
      children: [
          //How do I size this ListView to the height of its child?
          ListView(
              scrollDirection: Axis.horizontal,
              children: [for (int i = 0; i &lt; 2; i++) Widget()],
          ),
      ],
  ),
  </code></pre>