title: Flutter: TextField difference between onEdittingComplete and onSubmitted
body: <p>I am trying to figure out the difference between <code>onEdittingComplete</code> and <code>onSubmitted</code>, I don't know when the latter should be used since the former can be used to switch focus or to submit the content of the form.</p>
  <p>I tried looking into the documentation but there is not much said about the <code>onSubmitted</code> property.</p>