title: TextField inside of Row causes layout exception: Unable to calculate size
body: <p>I’m getting a rendering exception that I don’t understand how to fix. I’m attempting to create a column that has 3 rows. </p>
  
  <p>Row [Image]</p>
  
  <p>Row [TextField ]</p>
  
  <p>Row [Buttons]</p>
  
  <p>Here is my code to build the container:</p>
  
  <pre><code>Container buildEnterAppContainer(BuildContext context) {
      var container = new Container(
        padding: const EdgeInsets.all(8.0),
        child: new Column(
          mainAxisAlignment: MainAxisAlignment.start,
          children: &lt;Widget&gt;[
            buildImageRow(context),
            buildAppEntryRow(context),
            buildButtonRow(context)
          ],
        ),
      );
      return container;
    }
  </code></pre>
  
  <p>and my buildAppEntryRow code for the text container</p>
  
  <pre><code>Widget buildAppEntryRow(BuildContext context) {
      return new Row(
        children: &lt;Widget&gt;[
          new TextField(
            decoration: const InputDecoration(helperText: "Enter App ID"),
            style: Theme.of(context).textTheme.body1,
          )
        ],
      );
    }
  </code></pre>
  
  <p>When I run I get the following exception:</p>
  
  <pre><code>I/flutter ( 7674): BoxConstraints forces an infinite width.
  I/flutter ( 7674): These invalid constraints were provided to RenderStack's layout() function by the following
  I/flutter ( 7674): function, which probably computed the invalid constraints in question:
  I/flutter ( 7674):   RenderConstrainedBox.performLayout (package:flutter/src/rendering/proxy_box.dart:256:13)
  I/flutter ( 7674): The offending constraints were:
  I/flutter ( 7674):   BoxConstraints(w=Infinity, 0.0&lt;=h&lt;=Infinity)
  </code></pre>
  
  <p>If i change buildAppEntryRow to just a TextField instead like this</p>
  
  <pre><code> Widget buildAppEntryRow2(BuildContext context) {
      return new TextField(
        decoration: const InputDecoration(helperText: "Enter App ID"),
        style: Theme.of(context).textTheme.body1,
      );
    }
  </code></pre>
  
  <p>I no longer get the exception. What am I missing with the Row implementation that is causing it to not be able to calculate the size of that row?</p>