title: How to Remove Error Message in TextFormField in Flutter
body: <p>How can I remove the error message in <code>TextFormField</code> created by validator? I just want the red border because I don't have the space to show the error.</p>
  <pre><code>bool error = false;
   TextFormField ( 
        hintText:error?'please input productName':'',
        hintStyle:TextStyle(color: Colors.red), 
        validator:(v){  
         v.trim().length&gt;0?error=false:error=true; return null; 
        }
   ) 
  </code></pre>