I made an app in Flutter and there are no errors on its Dart file but I suddenly end up with errors on widget_test.dart
. can you guys help me out. Thanks
Run flutter clean
, and then flutter pub get
in the terminal respectively.
If that doesn't work, try running flutter upgrade
, and then repeating the initial steps.
Finally, if it still isn't working, you can run flutter doctor
to see if there's anything glaringly wrong with your project.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.