mitesh77/Best-Flutter-UI-Templates

Can't run app

IOCloudFly opened this issue · 7 comments

QQ20200507-185345@2x

download Flutter project,A lot of error.I don't know what.

@IOCloudFly I had exactly the same. Upgraded flutter to v1.17 to match latest code changes and works fine now.

Upgraded to flutter to v1.17 but still error.

@trbarton that worked, here is a link on how to upgrade your flutter:
https://flutter.dev/docs/development/tools/sdk/upgrading

However, it would be good to let people know in the readme.

try click pub get in widget_test.dart, or to any file that showing the errors

1.)navigate to dart sdk
2.) Get dependencies

If it still shows error on color or vsync property, update environment sdk from 2.7.0 to 2.8.0

  sdk: ">=2.8.0 <3.0.0"

If it still shows error on color or vsync property, update environment sdk from 2.7.0 to 2.8.0

  sdk: ">=2.8.0 <3.0.0"

restart ide will solve the problem,project could not rebuild