'Dart Main File (and other essential files) Not Created In New Project
I am learning dart/flutter using InetlliJ, and when I go to create a new dart project, it only creates a few useless files. No main.dart. I have all the most recent versions of flutter and dart installed. enter image description here
Solution 1:[1]
How did you generate your new project?
You can install the Flutter plugin on your editor, and you can create a Flutter Project using this guide
Solution 2:[2]
I found the answer. If you go File->Project Structure->Modules->click the (+) sign and select a new module, then all the proper files will be made. Apparently when it comes to Dart programming language, intelliJ requires you to create a subsequent module inside the project folder. I also figured out that the new module you create has to have a completely lowercase title, otherwise the project problem repeats itself but in the new module folder this time.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | rapaterno |
| Solution 2 | Patrick Sweet |
