The named parameter 'child' isn't defined. in Center() constructor

后端 未结 7 780
天涯浪人
天涯浪人 2021-01-17 21:04

I ran flutter upgrade today, and now I am getting an error that says- [dart] The named parameter \'child\' isn\'t defined. The project is newly created and the default code

7条回答
  •  一整个雨季
    2021-01-17 21:37

    Actually, I reinstalled the flutter SDK to solve the problem. After a few days, the same error occurred, but then I Started hovering over the red line, after a minute, the error was solved automatically. I guess the SDK connects with internet to check for all the libraries and syntax stuff once we open the IDE.

提交回复
热议问题