Home > Net >  Create file inside flutter project folder
Create file inside flutter project folder

Time:05-19

I'm working on a flutter project and I want to create a new file inside my flutter project folder and not in my device storage. Is there a way to create this file and appear inside my folder like under the pubspec.yaml file.

CodePudding user response:

If I understood correctly that you want to create a new file in the project folder in the application? This is not possible.

CodePudding user response:

Alright, so you are trying to create a new file in one of the flutter project file but for some reason it ends up in Downloads folder. Have you tried to create a new file by right clicking on the lib folder and then choosing new file? This will create the file under lib folder. Same way, you could create any file under any desired folder within lib.

  • Related