I've created a new flutter project and I notice there is something odd about the structure of the project. For some reason, I'm getting tons of folders and files that I didn't get the last time I've created a project with flutter create
.
Furthermore, when I checked the project on Github I've found out that most of my project isn't even dart but is Makefile
While in my last projects, more than 90% of the project (at least in such early stages) was written in dart.
Where did all these new extra folders come from? Is there an easy way to "fix" my project and make it look more like my old one (structure-wise)?
CodePudding user response:
According to your image, left(previous) project was created before widows become available on statable version.
Now flutter have windows, Linux and macOS are on statable release.
CodePudding user response:
You have created the project with default command flutter create
so it has created all platform folders because now these all platforms are stable. You can delete the platform folder if it's not in use for you.