title: Flutter : Row -> Expanded -> Container : All containers to have same height dynamically
body: <pre><code>return Row(
        mainAxisSize: MainAxisSize.max,
        mainAxisAlignment: MainAxisAlignment.start,
        children: &lt;Widget&gt;[
          Expanded(
            child: Container(
              color: Colors.blueAccent,
              child: RaisedButton(
                onPressed: () {
  
                },
                child: Text(
                      "Blah blah blah blah blah blah blah Blah blah blah blah blah blah blah",
                  style: TextStyle(color: Colors.white),
                ),
              ),
            ),
          ),
          SizedBox(width: 5),
          Expanded(
            child: Container(            
              alignment: Alignment.center,
              color: Colors.blueAccent,
              child: InkWell( // tried raisedbutton - height is not fully covered
                onTap: () {
  
                },
                child: Text(
                  "blah blah blah",
                  style: TextStyle(color: Colors.white),
                ),
              ),
            ),
          ),
        ],
      );
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/rQ1oe.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rQ1oe.png" alt="enter image description here"></a></p>
  
  <p>Because i am using <code>expanded</code> widget in <code>row</code>, I am not able to use <code>Container( height: double.infinity..</code></p>
  
  <p>The two boxes are given equal space with the help of <code>expanded</code> now i need two buttons with same dynamic height. Because text length will vary.</p>