Flutter Development In IntelliJ
Contents
What is IntelliJ?
IntelliJ IDEA is a Java-based integrated development environment for creating computer software. JetBrains created it, and it comes in two flavors: an Apache 2 Licensed community edition and a proprietary commercial edition. Both can be used to establish a business.
Flutter Plugin for IntelliJ
An IntelliJ plugin for Flutter development. Flutter is a multi-platform app SDK to help developers and designers build modern apps for iOS, Android and the web.
Documentation
Fast development
Flutter’s hot reload helps you quickly and easily experiment, build UIs, add features, and fix bugs faster. Experience sub-second reload times, without losing state, on emulators, simulators, and hardware for iOS and Android.
Quick-start
A brief summary of the getting started guide:
- install the Flutter SDK
- run
flutter doctor
from the command line to verify your installation - ensure you have a supported IntelliJ development environment; either:
- the latest stable version of IntelliJ, Community or Ultimate Edition (EAP versions are not always supported)
- the latest stable version of Android Studio (note: Android Studio Canary versions are generally not supported)
- open the plugin preferences
Preferences > Plugins
on macOS,File > Settings > Plugins
on Linux, select “Browse repositories…”
- search for and install the ‘Flutter’ plugin
- choose the option to restart IntelliJ
- configure the Flutter SDK setting
Preferences
on macOS,File>Settings
on Linux, selectLanguages & Frameworks > Flutter
, and set the path to the root of your flutter repo
Filing issues
Please use our issue tracker for Flutter IntelliJ issues.
- for more general Flutter issues, you should prefer to use the Flutter issue tracker
- for more Dart IntelliJ related issues, you can use JetBrains’ YouTrack tracker
Known issues
Please note the following known issues:
- #601: IntelliJ will read the PATH variable just once on startup. Thus, if you change PATH later to include the Flutter SDK path, this will not have an affect in IntelliJ until you restart the IDE.
- If you require network access to go through proxy settings, you will need to set the
https_proxy
variable in your environment as described in the pub docs. (See also: #2914.)
Dev Channel
If you like getting new features as soon as they’ve been added to the code then you might want to try out the dev channel. It is updated weekly with the latest contents from the “master” branch. It has minimal testing. Set up instructions are in the wiki’s dev channel page.
GitHub
Source Code: flutter_plugin_for_IntelliJ.