I open it my project but I can't run it.. I didn't do anything. How can I resolve this problem???enter image description here
CodePudding user response:
Click on the drop down icon on side of "main.dart" with flutter icon error and go to "Edit Configurations...", see if shows any error name or code. If there is an error or a code, send it here, maybe this will help more
CodePudding user response:
click on File >> click on Settings >> search by sdk >> click on Dart(inside Languages & Frameworks) >> check Enable Dart support for the project >> select Dart SDK path >> check Enable Dart support for the following modules >> click on Apply
You should see the image If you have any confusion.
Then I think you get your solution.