2. Setup an Editor
Set up an editor
You can build apps with Flutter using any text editor combined with our command-line tools. However, we recommend using one of our editor plugins for an even better experience. These plugins provide you with code completion, syntax highlighting, widget editing assists, run & debug support, and more.
Follow the steps below to add an editor plugin for Android Studio, IntelliJ, or VS Code. If you want to use a different editor, that’s OK, skip ahead to the next step: Test drive.
Install Android Studio
Android Studio offers a complete, integrated IDE experience for Flutter.
- Android Studio, version 3.0 or later
Alternatively, you can also use IntelliJ:
- IntelliJ IDEA Community, version 2017.1 or later
- IntelliJ IDEA Ultimate, version 2017.1 or later
Install the Flutter and Dart plugins
To install these:
- Start Android Studio.
- Open plugin preferences (Preferences > Plugins on macOS, File > Settings > Plugins on Windows & Linux).
- Select Browse repositories, select the Flutter plugin and click Install.
- Click Yes when prompted to install the Dart plugin.
- Click Restart when prompted.
Comments