Home > Net >  Why does the flutter folder have an error
Why does the flutter folder have an error

Time:09-30

So i have this problem where in the flutter folder having some error but it does not affect on my project. its just that it slows down the vscode and might cause future error in my future projects.

picture of the error in flutter folder

CodePudding user response:

Your main function should be in the file main.dart under the top level lib directory.

CodePudding user response:

  1. An error doesn't affect your application because it seems like this file is not used in your main project.

  2. import 'package:test/test.dart'; doesn't exist which means you might be not added in pubsec.yml file or didn't sync it properly(put get).

  3. https://pub.dev/packages/test go here to check how to implement and use it or if you don't need it for now just remove it or comment it.

  • Related