How To Create A New Flutter Project
Introduction Link to heading
This short article shows how to create a new Flutter project in 3 different ways, so you can start working on your app. Here is how to do it with Visual Studio Code, Android Studio, and the command line.
I will show you three ways how to create a new Flutter project. You can do it with the IDEs Visual Studio Code or Android Studio or by using the command-line tool from the Flutter SDK. You need to have the Flutter SDK installed, otherwise non of these tips will work. To install the Flutter SDK, see the Flutter homepage.
Visual Studio Code Link to heading
- Go to View ▶ Command Palette…

Open command palette in VSCode
- Enter or select Flutter: New Project

Choose command in command palette
- Select the project template Application.

Select template for new Flutter project
- Follow the guide until the end
Your project will be created at the desired location and Visual Studio Code will open it immediately.
Android Studio Link to heading
- Go to File ▶ New ▶ New Flutter Project…

Create new Flutter project in Android Studio
- Make sure the Flutter SDK path is found and correct.

Make sure Flutter SDK install directory is found in Android Studio
- Define additional project settings and click Finish.

Enter project details for the new Flutter project in Android Studio
Your project will be created at the desired location and Android Studio will open it immediately.
Command-line Link to heading
-
Open any command-line tool (like CMD on Windows)
-
Run the command
flutter create testproject. It will create a folder called testproject at the current location and put all the app code inside this folder.

Create a new Flutter project with the Flutter command-line tool
- To customize your new project, see
flutter create --help. There are many options to set for your project. However, the default settings should be fine for most of the cases.
Conclusion Link to heading
With this guide, you should be able to create new Flutter projects and start developing your apps. For more information about packages go to the official Flutter documentation.
Related articles Link to heading

How To Install Packages In Your Flutter App Link to heading
This short article shows how to install packages in your Flutter app so that you can use existing code and you don’t have to write everything yourself.

How to make HTTP requests with Flutter and parse JSON result data Link to heading
This short article shows how to perform HTTP requests from a Flutter application. We have a look at the most common request types GET, POST, PUT, and DELETE.

All you need to know about the default Flutter project folders and files Link to heading
A new Flutter project contains a lot of files and folders. In this article, we’ll inspect them and reveal their purposes.