There is not pubspec.yaml file how should I edit it now?? The project is running just fine without any errors.
CodePudding user response:
All you have to do is click the Android button in the upper left corner and select the Project button. You will see pubspec.yaml
. If you don't see pubspec.yaml
, you can leave a comment.
CodePudding user response:
Well, you have opened the android folder which is inside the main folder.
The flutter has the file structure as
The pubspec.yaml
file resides in the main folder
CodePudding user response:
Flutter cannot run without pubspec.yaml
file. You are just looking into the android file of it.
Instead of android choose project from the drop down menu and you can see pubspec.yaml
file again