'Some problems with creating flutter projects with commands,please help thanks

After using the command to create a flutter project, why can't a directory be created in the lib directory? At present, it seems that only a package can be created, as shown in the figure:

enter image description here



Solution 1:[1]

Its default sturcture. your main folder is lib folder where you can add dart files.

Solution 2:[2]

Please check in the project structure setting - is there flutter path is set or not..if not then provide the path..

Make sure you install Flutter & dart plugin in the android studio...

Solution 3:[3]

Install flutter and dart first. Set up environmentals path for flutter. Link for adding path

Fore More

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 Hardik Mehta
Solution 2 Ashutosh Kumar
Solution 3 Aravind Aji