This page describes how to set up an IDE to develop Flutter apps.
- Flutter IDE plugins
- Using the IDEs for Flutter
Flutter IDE plugins
You can write Flutter apps in a text editor, but if you desire a rich IDE experience we recommend using Android Studio or IntelliJ IDEA. Our Flutter and Dart plugins for these IDEs support editing, running, and debugging Flutter apps.
You can use the plugins with the following IntelliJ platform IDEs:
- IntelliJ CE IDEA Community Edition (CE), version 2017.1 or later.
- IntelliJ IDEA IDEA Ultimate edition, version 2017.1 or later.
- Android Studio, version 3.0 or later.
Both IntelliJ CE and Android Studio are free to use and supported for Flutter development.
Installing the plugins
To use these IDEs with Flutter, you need two plugins:
Flutterplugin powers Flutter developer workflows (running, debugging, hot reload, etc.).
Dartplugin offers code analysis (code validation as you type, code completions, etc.).
When you install the Flutter plugin, if the Dart plugin is not already present IntelliJ installs it for you.
To install the plugins:
- Start IntelliJ IDEA or Android Studio.
- Open plugin preferences (Preferences>Plugins on macOS, File>Settings>Plugins on Windows & Linux).
- Select Browse repositories…, select the Flutter plug-in and click
Yeswhen prompted to install the Dart plugin.
Creating your first project
- Select File>New Project (in IntelliJ) and then Flutter, or File>New Flutter Project (in Android Studio)
- If prompted for a Flutter SDK path, enter the location of your SDK directory. This is the top-level
flutterdirectory, without the
binsubdirectory. For example,
- Click OK
Using the IDEs for Flutter
See our additional documentation for tips on developing Flutter apps with Android Studio or IntelliJ IDEA.