title: How to remove underline below TextField?
body: <p>Here is the code. I want to remove the black underline just below text, and currently the TextField is in edit mode:</p>
  
  <pre><code>TextField(
        autofocus: true,
        decoration: InputDecoration.collapsed(
          hintText: "Search",
          border: InputBorder.none,
        ),
        maxLines: 1,
      )
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/qEthb.png" rel="noreferrer"><img src="https://i.stack.imgur.com/qEthb.png" alt=""></a></p>