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

后端 未结 7 785
天涯浪人
天涯浪人 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条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-17 21:28

    1. Go to file Settings
    2. Search Flutter (in the search bar)
    3. Provide Flutter SDK path

提交回复
热议问题