title: Problems with Suffix Icon of TextFormField
body: <p>I have a <code>TextFormField</code> with a suffix icon, which is used as <code>IconButton</code>:</p>
  
  <pre><code>TextFormField(
    autocorrect: false,
    decoration: InputDecoration(
      prefixIcon: widget.icon,
      isDense: true,
      suffixIcon: IconButton(
        icon: Icon(Icons.clear),
        onPressed: () {...}                 
      )
    ),     
    controller: _controller,
    maxLines: null,
  )
  </code></pre>
  
  <p>My problem is, the suffix icon increased the height of the text field:</p>
  
  <p><a href="https://i.stack.imgur.com/oYbJZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oYbJZ.png" alt="enter image description here"></a></p>
  
  <p>(furthermore there is too much space between the end of the text and the icon):</p>
  
  <p><a href="https://i.stack.imgur.com/PkYca.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PkYca.png" alt="enter image description here"></a></p>
  
  <p>I tried different approaches to avoid this, but nearly everything failed. Finally I found a possible solution here: <a href="https://github.com/flutter/flutter/issues/21908#issuecomment-516434465" rel="nofollow noreferrer">https://github.com/flutter/flutter/issues/21908#issuecomment-516434465</a></p>
  
  <p>So, I tried to use an <code>IntrinsicHeight</code> widget as mentioned:</p>
  
  <pre><code>IntrinsicHeight(
    child: TextFormField(...)
  )
  </code></pre>
  
  <p>Indeed, it normalized the height of my <code>TextFormField</code>, but now there is something with the wordwrap/line break:</p>
  
  <p><a href="https://i.stack.imgur.com/uYMxa.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uYMxa.gif" alt="enter image description here"></a></p>
  
  <p>As you can see, the multiline adjustment is not working properly anymore, it is nearly indetermined to when it will expand.</p>
  
  <p>So: Do you have any idea how to solve my initial problem with the suffix icon and the resulting text field height? Or do you now how to fix the multiline issue when using the <code>IntrisicHeight</code>?</p>