Creating a New Project
Learn how to create your first Flutter Project.
We'll cover the following
Command line
You can create your Flutter Project by typing the following command in your terminal:
$ flutter create my_todo_app
When you run this command, a folder named my_todo_app
will appear on the current path. This will be your Flutter Project. To run the demo counter
app, which you have seen in the previous lesson, type the following commands:
$ cd my_todo_app
$ flutter run lib/main.dart
Android Studio
First, Dart
and Flutter
plugins must be added to create a Flutter Project for the first time.
Click “Android Studio” in the menu bar and then “Preferences” here. You will find plugins and search for and install Flutter and Dart. Windows users can find the plugins under File -> Settings
.
Get hands-on with 1400+ tech skills courses.