The flutter-intellij repository provides the official Flutter plugin for IntelliJ IDEA and Android Studio. It integrates Flutter SDK capabilities, debugging, UI inspection, and project management directly into the IDE.
build.gradle.kts,settings.gradle.kts: Gradle build configuration files for compiling the IntelliJ plugin.pubspec.yaml: Dart package configuration.
docs: Documentation for the plugin.gradle: Gradle wrapper configuration.kokoro: ./kokoro/ABOUT.md - Configuration and scripts for theflutter-intellij-kokoroCI jobs on Google's internal Kokoro infrastructure.releases: Release scripts and assets.resources: UI layouts, messages, and standard static plugin resources.src: ./src/ABOUT.md - Root source directory containing the core Java and Kotlin implementations of the IDE plugin.testData: Test files and goldens for various IDE integration tests.testSrc: Source directory for IDE tests.third_party: ./third_party/ABOUT.md - Third-party libraries and IntelliJ plugin dependencies.tool: ./tool/ABOUT.md - Root tooling directory for flutter-intellij. Contains grind tasks and other shell utilities for CI, deployment, and testing.
- All plugin UI interactions must execute on the Event Dispatch Thread (EDT) unless explicitly marked for background execution.
- Network and VM Service interactions must be performed asynchronously to avoid freezing the IDE.
- Mutates the local filesystem to create and manage Flutter projects.
- Spawns external processes (
flutter,dart,gradlew) to handle compilation, testing, and execution. - Establishes persistent WebSocket connections to running Dart VM instances for debugging and hot reload.
- Run:
./gradlew testto execute unit tests. - Run:
./gradlew buildPluginto verify compilation.