Run to create your first Flutter project.

VScode runs to create the first flutter project:

提示:已经搭建好flutter在vscode的运行环境


Method 1. Open the VScode console

Shortcut key Ctrl + ~ (the button above the tab key, backslash) or directly press and hold the mouse from the bottom of VScode and pull up, first
cd to the directory where you want to create the project, and then directly enter the flutter command flutter_obj01 is the project name

flutter create flutter_obj01

insert image description here
Ann prompts to cd to the directory flutter_obj01 and execute flutter run

Method 2. Open the command box through ctrl + shift + p, enter "flutter" and select "New Application Project"

insert image description here
Enter the project name and press Enter to create the project
insert image description here

Guess you like

Origin blog.csdn.net/qq_41117240/article/details/123893975