title: How to reproduce CSS flex-grow space distribution behavior in a Flutter Row/Column?
body: <p>I have a <code>Row</code> that looks like this:</p>
  
  <pre><code>SizedBox(
      height: 64,
      child: Row(crossAxisAlignment: CrossAxisAlignment.stretch, children: [
          Expanded(
              child: Container(
              color: Colors.blue,
              child: Text("looooooooong", softWrap: false))),
          Expanded(
              child: Container(
              color: Colors.green, child: Text("short", softWrap: false)))
      ]));
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/NI3jK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NI3jK.png" alt="enter image description here"></a></p>
  
  <p>As you can see the text in the blue container gets <strong>cut of</strong>.</p>
  
  <p>Building the same thing with CSS look like this:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>#container {
    width: 100px;
    height: 64px;
    display: flex;
    align-items: stretch;
  }
  
  #first {
    flex-grow: 1;
    background-color: blue;
  }
  
  #second {
    flex-grow: 1;
    background-color: green;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="container"&gt;
    &lt;div id="first"&gt;looooooooong&lt;/div&gt;
    &lt;div id="second"&gt;short&lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p><a href="https://i.stack.imgur.com/qkHPd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qkHPd.png" alt="enter image description here"></a></p>
  
  <p>In this case the green container leaves its unused space over to the blue container and the text in the blue container doesn't get cut of.</p>
  
  <p><strong>How am I supposed to achieve the CSS flex-box behavior in Flutter?</strong></p>