This page describes how to set up IntelliJ IDE to develop Flutter apps.
Flutter IntelliJ IDE plugins
You can write Flutter apps in a text editor, but if you choose to work in an IDE we recommend IntelliJ for a rich IDE experience. Our Flutter and Dart plug-ins support editing, running, and debugging Flutter apps.
You can use the IntelliJ plug-ins with one of the following JetBrains IDEs:
- IntelliJ IDEA, Community (free) edition, version 2016.3 or later.
- IntelliJ IDEA, Ultimate edition, version 2016.3 or later.
- IntelliJ WebStorm, version 2016.3 or later.
Android Studio (and various other JetBrains editors) is currently not supported.
Installing the plugins
We provide two plugins:
Dartplugin offers code analysis (code validation as you type, code completions, etc.).
Flutterplugin powers Flutter developer workflows (running, debugging, hot reload, etc.).
To install the plugins:
- Open plugin preferences (Preferences>Plugins on macOS, File>Settings>Plugins on Linux)
- Select “Browse repositories…”
- Search for
'dart', select the Dart plug-in and click
install(do not restart yet).
- Note: this is pre-installed in WebStorm.
- Search for
'flutter', select the Flutter plug-in and click
Restart IntelliJ IDEA.
Configuring the plugins
- Open preferences (Preferences on macOS, File>Settings on Linux)
- Select Languages & Frameworks>Flutter
- Enter, or browse to, your Flutter SDK directory path in Flutter SDK path
- Click OK