title: constraints structure in the container class
body: <p>Friends, I could not use the constraints structure in the container class. Now, according to my text child, while waiting for the min, max values   to be formed, I always output maxwidth, maxheight values, even if the text content is little. As expected in the training video I watched, it grows according to the max value given according to the text content. but I could not.my code and quit:</p>
  <pre><code>    body: Center(
        child: Container(
            alignment: AlignmentDirectional.centerStart,
            color: Colors.yellow,
            child: Text(
              &quot;Merhaba&quot;,
              style: TextStyle(color: Colors.red, fontSize: 25),
            ),
            constraints: BoxConstraints(
                maxHeight: 300.0,
                maxWidth: 200.0,
                minWidth: 150.0,
                minHeight: 150.0)
        ),
      ),
  </code></pre>
  <p>Text size is 25, the result is:
  <a href="https://i.stack.imgur.com/ZHNTG.png" rel="nofollow noreferrer">https://i.stack.imgur.com/ZHNTG.png</a></p>
  <p>I tried font size as 250, the result is:</p>
  <p><a href="https://i.stack.imgur.com/W5qWK.png" rel="nofollow noreferrer">https://i.stack.imgur.com/W5qWK.png</a></p>