title: The named parameter 'child' isn't defined. in Center() constructor
body: <p>I ran flutter upgrade today, and now I am getting an error that says-</p>
  <pre><code>[dart] The named parameter 'child' isn't defined.
  </code></pre>
  <p>The project is newly created and the default code is untouched, but it still has the same Error:</p>
  <p><a href="https://i.stack.imgur.com/inX1o.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/inX1o.png" alt="" /></a></p>