Home > Mobile >  Dart Main File (and other essential files) Not Created In New Project
Dart Main File (and other essential files) Not Created In New Project

Time:02-11

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

CodePudding user response:

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

CodePudding user response:

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.

  • Related