Reputation: 231
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.
Upvotes: 0
Views: 1079
Reputation: 494
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.
Upvotes: 0
Reputation: 233
If I understood correctly that you want to create a new file in the project folder in the application? This is not possible.
Upvotes: 2