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

后端 未结 7 784
天涯浪人
天涯浪人 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:30

    Try Restarting your Analysis Dart Server.

    1. At the the bottom of Android Studio click on the 'Dart Analysis' tab
    2. Click on the Restart icon.

提交回复
热议问题