IntelliJ & Android Studio
The Dart plugin adds Dart support to IntelliJ Platform-based IDEs. These IDEs provide features unique to specific development technologies. Whichever JetBrains IDE you choose for Dart development, this page has resources to help you get started quickly and find more information when you need it.
Get started
#If you don't already have the IDE and the Dart SDK, get them. Then install the Dart plugin and tell it where to find the Dart SDK.
Download the IDE
#Install a JetBrains IDE if you don't already have one. Choose one:
Download the Dart SDK
#If you don't already have the Dart SDK, install it. You can get it either by itself or by downloading the Flutter SDK, which includes the full Dart SDK.
Choose one:
Install the Dart plugin
#To configure Dart support, start by installing the plugin:
- Start the IDE.
- From the Welcome screen, choose Plugins.
- Search for Dart.
- Install the plugin and restart the IDE.
Create a new Dart project
#To create a new project:
From the Welcome screen, click New Project.
In the next dialog, click Dart.
-
If you don't see a value for the Dart SDK path, enter or select it.
For example, the SDK path might be
<dart installation directory>/dart/dart-sdk. -
Choose a starting template.
- To enable starting templates, click Generate sample content.
- Pick your desired template.
Click Next and continue project setup.
Open an existing Dart project
#To work on an existing Dart application, open the project in the IDE and enable Dart support.
Open the project
#- From the Welcome screen, click Open or Import. Alternatively, select File | Open from the main menu.
- Select the folder containing your Dart project.
Enable Dart support
#-
Open Settings (
Cmd+,) and choose Dart under Languages and Frameworks. This will open the Dart page. - Check Enable Dart support for the project <project name>.
- Verify the Dart SDK Path. The IDE usually detects this automatically. If not, manually select the directory containing the Dart SDK.
- Under Enable Dart support for the following modules, select the modules that require Dart functionality.
Work with multiple Dart projects (packages)
#To work with multiple Dart projects (packages) in a single IntelliJ IDEA project, add the additional project's root folder as a content root or as a new module.
-
Go to the Modules page (File | Project Structure | Modules) and add a content root as described in Adding a content root.
-
Select File | New | Module from Existing Sources and select the relevant module in the dialog that opens.
Configure syntax highlighting
#You can customize Dart syntax highlighting to match your preferences.
-
Open Settings (
Cmd+,) and go to Editor | Color Scheme | Dart. - Select a color scheme, or customize the default settings as described in Colors and fonts.
Report issues
#Please report issues and feedback via the IntelliJ issue tracker. Include details of the expected behavior, the actual behavior, and screenshots if appropriate.
More information
#See the JetBrains website for more information.
Unless stated otherwise, the documentation on this site reflects Dart 3.10.3. Page last updated on 2025-12-9. View source or report an issue.