title: How to remove background color of TextField on Flutter Widget?
body: <p>I can't remove the shadow and the background of the TextField, here is my code:</p>
  <pre><code>TextFormField(
                              decoration: InputDecoration.collapsed(),
                              validator: (input) =&gt;
                                  input == &quot;&quot; ? 'The task is empty' : null,
                              onSaved: (input) =&gt; task = input,
                            )
  </code></pre>
  <p>this is the result that I want</p>
  <p><a href="https://i.stack.imgur.com/ostHw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ostHw.png" alt="enter image description here" /></a></p>
  <p>I always try BoxDecoration but no success because don't is compatible with TextFormField.</p>