简体   繁体   English

创建 flutter 项目时如何添加自定义文件夹

[英]How can i add custom folder when i create flutter project

  • For example "Create assets folder with 4 base folders automatically when I create the project"例如“创建项目时自动创建具有 4 个基本文件夹的资产文件夹”

Do right click on parent project directory and you will get create new directory enter the directory name and your folder or directory created succesfully.右键单击父项目目录,您将创建新目录,输入目录名称和成功创建的文件夹或目录。 You can create directory as required您可以根据需要创建目录

What IDE are you using?您使用的是什么 IDE? You could create a folder somewhere like this你可以在这样的地方创建一个文件夹

temp-folder/assets/
temp-folder/base1/
temp-folder/base2/
temp-folder/base3/
temp-folder/base4/

Then just copy paste the above five folders into your project folder.然后只需将上述五个文件夹复制粘贴到您的项目文件夹中即可。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM