# \#dart-flutter

**URL:** https://community.sonarsource.com/tag/dart-flutter/235.md

[Latest](https://community.sonarsource.com/latest.md) · [Categories](https://community.sonarsource.com/categories.md) · [Tags](https://community.sonarsource.com/tags.md)

---

## [Unable to scan repository](https://community.sonarsource.com/t/unable-to-scan-repository/191279)

<div class="topic-metadata">

**Author:** [@Joel\_Jabez](https://community.sonarsource.com/u/Joel_Jabez)\
**Replies:** 0\
**Last updated:** [November 16, 2026, 5:20am UTC](https://community.sonarsource.com/t/unable-to-scan-repository/191279 "2026-11-16T05:20:59Z")

</div>

Im currently using the sonarqube cloude free version and my project is a public repository. When my company set it up the scanning for the branch/PRs worked correctly, a few weeks later it’s giving a status code of 403 F…

---

## [False Positive: “Target of URI doesn't exist” for valid Flutter import](https://community.sonarsource.com/t/false-positive-target-of-uri-doesnt-exist-for-valid-flutter-import/182009)

<div class="topic-metadata">

**Author:** [@shoaib-mohmad](https://community.sonarsource.com/u/shoaib-mohmad)\
**Replies:** 1\
**Last updated:** [May 5, 2026, 4:23pm UTC](https://community.sonarsource.com/t/false-positive-target-of-uri-doesnt-exist-for-valid-flutter-import/182009 "2026-05-05T16:23:26Z")

</div>

We are encountering a false positive issue in SonarCloud where a valid Dart import is being flagged as unresolved: Target of URI doesn't exist: 'package:hectorrail\_flutter\_da/core/constants/api\_endpoints.dart' However,…

---

## [The version of Dart and Flutter should be updated](https://community.sonarsource.com/t/the-version-of-dart-and-flutter-should-be-updated/177473)

<div class="topic-metadata">

**Author:** [@Lucas\_SAUDON](https://community.sonarsource.com/u/Lucas_SAUDON)\
**Replies:** 2\
**Last updated:** [February 16, 2026, 10:40am UTC](https://community.sonarsource.com/t/the-version-of-dart-and-flutter-should-be-updated/177473 "2026-02-16T10:40:06Z")

</div>

Hey, The version of Dart and Flutter is not synced with stable version Flutter 3.38.9 Dart 3.10.8 In your documentation the lastest version is 3.8.x. This creates false negatives, particularly when using “dot-shorth…

---

## [SonarCloud supports Dart 🎉](https://community.sonarsource.com/t/sonarcloud-supports-dart/124883)

<div class="topic-metadata">

**Author:** [@Alexandre\_Gigleux](https://community.sonarsource.com/u/Alexandre_Gigleux)\
**Replies:** 19\
**Last updated:** [January 26, 2026, 8:50am UTC](https://community.sonarsource.com/t/sonarcloud-supports-dart/124883 "2026-01-26T08:50:11Z")

</div>

Dear Community, We are thrilled to announce that the wait is finally over: SonarCloud now supports Dart! (Early Access version). This has been a long time coming, with the first community request dating back to August 2…

---

## [Sonar shows Flutter import errors (package:flutter/material.dart not found)](https://community.sonarsource.com/t/sonar-shows-flutter-import-errors-package-flutter-material-dart-not-found/176630)

<div class="topic-metadata">

**Author:** [@jino\_jose](https://community.sonarsource.com/u/jino_jose)\
**Replies:** 1\
**Last updated:** [January 22, 2026, 2:14pm UTC](https://community.sonarsource.com/t/sonar-shows-flutter-import-errors-package-flutter-material-dart-not-found/176630 "2026-01-22T14:14:11Z")

</div>

Hi everyone , I’m facing a persistent issue with SonarCloud Flutter analysis where Flutter framework imports are reported as unresolved, even after a full compilation step, as recommended in Sonar documentation. Prob…

---

## [Sonarqube for IDE do not scan Dart/Flutter in Android Studio](https://community.sonarsource.com/t/sonarqube-for-ide-do-not-scan-dart-flutter-in-android-studio/151854)

<div class="topic-metadata">

**Author:** [@C\_ng\_Nguy\_n](https://community.sonarsource.com/u/C_ng_Nguy_n)\
**Replies:** 2\
**Last updated:** [November 4, 2025, 6:56am UTC](https://community.sonarsource.com/t/sonarqube-for-ide-do-not-scan-dart-flutter-in-android-studio/151854 "2025-11-04T06:56:32Z")

</div>

If your question is about SonarQube for IDE in the IntelliJ Platform, VS Code, Visual Studio, or Eclipse, please post it in that sub-category. Otherwise, please provide: Operating system: IDE name and flavor/env: And…

---

## [Dart analysis not respecting analysis\_options.yaml](https://community.sonarsource.com/t/dart-analysis-not-respecting-analysis-options-yaml/134344)

<div class="topic-metadata">

**Author:** [@evan-masterson](https://community.sonarsource.com/u/evan-masterson)\
**Replies:** 5\
**Last updated:** [May 8, 2025, 11:04am UTC](https://community.sonarsource.com/t/dart-analysis-not-respecting-analysis-options-yaml/134344 "2025-05-08T11:04:39Z")

</div>

Hi, We’ve recently started integrating a Flutter codebase into SonarQube. It looks like the dart analyzer is not respecting the linter rules defined in the analysis\_options.yaml file that is defined in our project, the…

---

## [Flutter Unit Test Results Missing in SonarQube UI After Upgrade to Version 10.7 (Enterprise )](https://community.sonarsource.com/t/flutter-unit-test-results-missing-in-sonarqube-ui-after-upgrade-to-version-10-7-enterprise/138401)

<div class="topic-metadata">

**Author:** [@Danushka\_Lakmina](https://community.sonarsource.com/u/Danushka_Lakmina)\
**Replies:** 5\
**Last updated:** [April 30, 2025, 8:37am UTC](https://community.sonarsource.com/t/flutter-unit-test-results-missing-in-sonarqube-ui-after-upgrade-to-version-10-7-enterprise/138401 "2025-04-30T08:37:27Z")

</div>

Hi team, After upgrading from SonarQube Enterprise Edition to v10.7 we noticed that unit test results are no longer displayed in the SonarQube UI for our Flutter application. Specifically: The “Coverage” section corr…

---

## [Flutter/Dart analysis requires build the app](https://community.sonarsource.com/t/flutter-dart-analysis-requires-build-the-app/137781)

<div class="topic-metadata">

**Author:** [@vbarba](https://community.sonarsource.com/u/vbarba)\
**Replies:** 1\
**Last updated:** [April 2, 2025, 2:06pm UTC](https://community.sonarsource.com/t/flutter-dart-analysis-requires-build-the-app/137781 "2025-04-02T14:06:54Z")

</div>

Hi, I’m wondering why to scan a Flutter/Dart project it requires to build the app. Thank you in advance!

---

## [Reg' Flutter/Dart supported plan](https://community.sonarsource.com/t/reg-flutter-dart-supported-plan/137006)

<div class="topic-metadata">

**Author:** [@ram-ektar](https://community.sonarsource.com/u/ram-ektar)\
**Replies:** 2\
**Last updated:** [March 20, 2025, 8:43am UTC](https://community.sonarsource.com/t/reg-flutter-dart-supported-plan/137006 "2025-03-20T08:43:18Z")

</div>

Hi - We are currently paid customers on the “legacy” plan. I’ve noticed that “Dart/Flutter” support is not included in this plan. Could someone assist me in selecting the right plan that does support “Dart/Flutter”? I …

---

## [Excluding Files from SonarCloud Scan Using Dart Comments](https://community.sonarsource.com/t/excluding-files-from-sonarcloud-scan-using-dart-comments/136430)

<div class="topic-metadata">

**Author:** [@posei](https://community.sonarsource.com/u/posei)\
**Replies:** 1\
**Last updated:** [March 10, 2025, 1:27pm UTC](https://community.sonarsource.com/t/excluding-files-from-sonarcloud-scan-using-dart-comments/136430 "2025-03-10T13:27:16Z")

</div>

Issue: Excluding Files from SonarCloud Scan Using Dart Comments I need help ensuring that specific Dart files are excluded from SonarCloud scans using the // coverage:ignore-file comment. Currently, this approach works f…

---

## [Issue with coverage report Dart](https://community.sonarsource.com/t/issue-with-coverage-report-dart/135429)

<div class="topic-metadata">

**Author:** [@eduardo.lodgify](https://community.sonarsource.com/u/eduardo.lodgify)\
**Replies:** 3\
**Last updated:** [February 19, 2025, 4:14pm UTC](https://community.sonarsource.com/t/issue-with-coverage-report-dart/135429 "2025-02-19T16:14:11Z")

</div>

Hi, After updating Sonar to the latest LTA version (2025). We are using the native support for Dart projects, but we have an issue. Our issue is because SonarQube includes all files from sonar.sources in the coverage c…

---

## [When will Dart 3.6+ be supported by SonarQube LTA?](https://community.sonarsource.com/t/when-will-dart-3-6-be-supported-by-sonarqube-lta/134738)

<div class="topic-metadata">

**Author:** [@balbi\_andre](https://community.sonarsource.com/u/balbi_andre)\
**Replies:** 2\
**Last updated:** [February 10, 2025, 3:14pm UTC](https://community.sonarsource.com/t/when-will-dart-3-6-be-supported-by-sonarqube-lta/134738 "2025-02-10T15:14:13Z")

</div>

Enterprise Edition v2025.1 (102418) MQR Mode I’m evaluating the use of the latest version of Flutter (3.27) on my SonarQube server. However, according to flutter’s docs, it uses Dart 3.6.2. The Dart versions fully sup…

---

## [SonarCloud Pipeline for Dart Language Showing 0% Code Coverage](https://community.sonarsource.com/t/sonarcloud-pipeline-for-dart-language-showing-0-code-coverage/126325)

<div class="topic-metadata">

**Author:** [@hasan](https://community.sonarsource.com/u/hasan)\
**Replies:** 24\
**Last updated:** [January 28, 2025, 9:06pm UTC](https://community.sonarsource.com/t/sonarcloud-pipeline-for-dart-language-showing-0-code-coverage/126325 "2025-01-28T21:06:25Z")

</div>

SonarCloud Pipeline Issue: Code Coverage Not Detected in Flutter Mobile App (Dart) ALM Used Bitbucket Cloud CI System Used Bitbucket Cloud Pipelines Scanner Command Used (bitbucket-pipeline.yml) image: ghcr.io/cirrus…

---

## [More rules and metrics for Dart](https://community.sonarsource.com/t/more-rules-and-metrics-for-dart/129609)

<div class="topic-metadata">

**Author:** [@Alexandre\_Gigleux](https://community.sonarsource.com/u/Alexandre_Gigleux)\
**Replies:** 0\
**Last updated:** [October 31, 2024, 4:32pm UTC](https://community.sonarsource.com/t/more-rules-and-metrics-for-dart/129609 "2024-10-31T16:32:07Z")

</div>

Hello Dart developers, We updated our Dart analyzer to include more rules fully covering the “Flutter” and “Recommended” profiles of the Dart SDK linter. You now have 114 rules executed when you scan a project containin…

---

## [Dart Sensor Error Invalid primary location](https://community.sonarsource.com/t/dart-sensor-error-invalid-primary-location/128683)

<div class="topic-metadata">

**Author:** [@ChrisSDK](https://community.sonarsource.com/u/ChrisSDK)\
**Replies:** 7\
**Last updated:** [October 31, 2024, 12:17pm UTC](https://community.sonarsource.com/t/dart-sensor-error-invalid-primary-location/128683 "2024-10-31T12:17:01Z")

</div>

ALM used - GitHub CI system used - GitHub Actions Scanner command used when applicable - N/A Languages of the repository - Flutter / Dart, Swift, Kotlin Error observed (wrap logs/code around with triple quotes \`\`\` fo…

---

## [Paying for TEAM Plan but website in eastern Europe shows PAID Plan](https://community.sonarsource.com/t/paying-for-team-plan-but-website-in-eastern-europe-shows-paid-plan/128650)

<div class="topic-metadata">

**Author:** [@ChrisSDK](https://community.sonarsource.com/u/ChrisSDK)\
**Replies:** 6\
**Last updated:** [October 24, 2024, 9:25am UTC](https://community.sonarsource.com/t/paying-for-team-plan-but-website-in-eastern-europe-shows-paid-plan/128650 "2024-10-24T09:25:17Z")

</div>

Template for a good new topic, formatted with Markdown: ALM used - GitHub CI system used - GitHub Actions Scanner command used when applicable - N/A Languages of the repository - Flutter / Dart, Swift, Kotlin Only if t…

---

## [SonarQube 10.7 supports Dart!](https://community.sonarsource.com/t/sonarqube-10-7-supports-dart/127540)

<div class="topic-metadata">

**Author:** [@Alexandre\_Gigleux](https://community.sonarsource.com/u/Alexandre_Gigleux)\
**Replies:** 1\
**Last updated:** [October 9, 2024, 1:09pm UTC](https://community.sonarsource.com/t/sonarqube-10-7-supports-dart/127540 "2024-10-09T13:09:15Z")

</div>

Dear Community, It was announced in early Sept that SonarCloud supports Dart; it’s time for SonarQube to benefit from it. Dart is supported by SonarQube 10.7 starting from the Developer Edition with the following featu…

---

## [Fail to scan Dart/Flutter project on GitLab CI](https://community.sonarsource.com/t/fail-to-scan-dart-flutter-project-on-gitlab-ci/125403)

<div class="topic-metadata">

**Author:** [@Jochem\_Toolenaar](https://community.sonarsource.com/u/Jochem_Toolenaar)\
**Replies:** 3\
**Last updated:** [September 20, 2024, 8:43am UTC](https://community.sonarsource.com/t/fail-to-scan-dart-flutter-project-on-gitlab-ci/125403 "2024-09-20T08:43:24Z")

</div>

Great to see that Dart is now supported. I am new to Sonarcloud and I am trying to setup a flutter project using gitlab ci. I have done the default tutorial setting up a .gitlab-ci.yml. But I am getting errors first I go…

---

## [SonarQube support for Dart language](https://community.sonarsource.com/t/sonarqube-support-for-dart-language/118522)

<div class="topic-metadata">

**Author:** [@Megala\_Natarajan](https://community.sonarsource.com/u/Megala_Natarajan)\
**Replies:** 4\
**Last updated:** [September 19, 2024, 1:20pm UTC](https://community.sonarsource.com/t/sonarqube-support-for-dart-language/118522 "2024-09-19T13:20:56Z")

</div>

Must-share information (formatted with Markdown): which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension) : SonarQube how is SonarQube deployed: zip what are you trying to achieve : analys…

---

## [Flutter/Dart support](https://community.sonarsource.com/t/flutter-dart-support/104793)

<div class="topic-metadata">

**Author:** [@Pratyoosha\_Reddy](https://community.sonarsource.com/u/Pratyoosha_Reddy)\
**Replies:** 5\
**Last updated:** [September 19, 2024, 1:20pm UTC](https://community.sonarsource.com/t/flutter-dart-support/104793 "2024-09-19T13:20:05Z")

</div>

Can you provide some timelines on when support for Dart/Flutter is added to SonarQube. On SonarQube product roadmap it currently is listed for version 10.x lts. When will this come out?

---

## [Should we install Dart/Flutter plugin for SonarQube?](https://community.sonarsource.com/t/should-we-install-dart-flutter-plugin-for-sonarqube/22722)

<div class="topic-metadata">

**Author:** [@Revathi](https://community.sonarsource.com/u/Revathi)\
**Replies:** 9\
**Last updated:** [September 19, 2024, 1:19pm UTC](https://community.sonarsource.com/t/should-we-install-dart-flutter-plugin-for-sonarqube/22722 "2024-09-19T13:19:12Z")

</div>

Hi Team, We have sonarqube setup in our Organization. One of the customer is requesting to install Dart/Flutter plugin for SonarQube. But from officially we found there is no support for Dart plugin. But still customer i…

---

## [Is it possible to analyze a flutter project with sonarCloud?](https://community.sonarsource.com/t/is-it-possible-to-analyze-a-flutter-project-with-sonarcloud/101241)

<div class="topic-metadata">

**Author:** [@CarolVLeon](https://community.sonarsource.com/u/CarolVLeon)\
**Replies:** 14\
**Last updated:** [September 19, 2024, 1:01pm UTC](https://community.sonarsource.com/t/is-it-possible-to-analyze-a-flutter-project-with-sonarcloud/101241 "2024-09-19T13:01:12Z")

</div>

I have a flutter project and I want to analyze it with sonarCloud, of course all my functionality is in dart code in the ‘lib’ folder.

---

## [Flutter/Dart imports not working by GitHub action](https://community.sonarsource.com/t/flutter-dart-imports-not-working-by-github-action/125180)

<div class="topic-metadata">

**Author:** [@sne\_envidan](https://community.sonarsource.com/u/sne_envidan)\
**Replies:** 1\
**Last updated:** [September 16, 2024, 12:01pm UTC](https://community.sonarsource.com/t/flutter-dart-imports-not-working-by-github-action/125180 "2024-09-16T12:01:49Z")

</div>

When using SonarCloud for the newly Flutter / Dart support, I get errors like: Target of URI doesn’t exist: ‘package:dio/dio.dart’ Undefined class ‘CancelToken’ Here are my GitHub action workflow: - name: ₍₍🦋⁾⁾…

---

## [Support for Dart?](https://community.sonarsource.com/t/support-for-dart/13555)

<div class="topic-metadata">

**Author:** [@zaralockheart](https://community.sonarsource.com/u/zaralockheart)\
**Replies:** 171\
**Last updated:** [September 11, 2024, 9:53am UTC](https://community.sonarsource.com/t/support-for-dart/13555 "2024-09-11T09:53:29Z")

</div>

Hi, Are there any plan to support Dart? Flutter is growing a lot recently as mobile cross platform framework. It comes with dart analyzer and coverage. But I think to have Sonarqube support will make things centralized …

---

## [Could not startup process 'flutter analyze' when scanning the flutter language with a scanner](https://community.sonarsource.com/t/could-not-startup-process-flutter-analyze-when-scanning-the-flutter-language-with-a-scanner/118302)

<div class="topic-metadata">

**Author:** [@hyeji\_kim](https://community.sonarsource.com/u/hyeji_kim)\
**Replies:** 1\
**Last updated:** [July 3, 2024, 8:14am UTC](https://community.sonarsource.com/t/could-not-startup-process-flutter-analyze-when-scanning-the-flutter-language-with-a-scanner/118302 "2024-07-03T08:14:51Z")

</div>

If you scan the flutter language with a scanner, Could not startup process ‘flutter analyze’. When scanning other languages, it works normally. The error occurs only when scanning the flutter language. I installed flutt…

---

## [java.lang.IllegalStateException error while running sonar-scanner for flutter app](https://community.sonarsource.com/t/java-lang-illegalstateexception-error-while-running-sonar-scanner-for-flutter-app/107062)

<div class="topic-metadata">

**Author:** [@Paranjay\_Patel](https://community.sonarsource.com/u/Paranjay_Patel)\
**Replies:** 2\
**Last updated:** [January 19, 2024, 11:44am UTC](https://community.sonarsource.com/t/java-lang-illegalstateexception-error-while-running-sonar-scanner-for-flutter-app/107062 "2024-01-19T11:44:32Z")

</div>

I am following the tutorial from Static Code Analysis with SonarQube with Flutter | by Arindam Ghosh | Medium I am using docker as sonarqube. I have run the below command to run sonarqube container docker run -d --nam…

---

## [Extra configuration steps required on adding flutter project in sonar cloud paid paln](https://community.sonarsource.com/t/extra-configuration-steps-required-on-adding-flutter-project-in-sonar-cloud-paid-paln/96886)

<div class="topic-metadata">

**Author:** [@Shashank\_Sharma](https://community.sonarsource.com/u/Shashank_Sharma)\
**Replies:** 1\
**Last updated:** [August 4, 2023, 9:10am UTC](https://community.sonarsource.com/t/extra-configuration-steps-required-on-adding-flutter-project-in-sonar-cloud-paid-paln/96886 "2023-08-04T09:10:08Z")

</div>

Hi, i am using Sonar Cloud paid version for different projects analysis and it was working as expected for other projects. today I added a new project(flutter-dart) but it is showing extra configuration required and show…

---

## [Can i make and add custom rules for Flutter?](https://community.sonarsource.com/t/can-i-make-and-add-custom-rules-for-flutter/63202)

<div class="topic-metadata">

**Author:** [@HAYOUNGCHOI](https://community.sonarsource.com/u/HAYOUNGCHOI)\
**Replies:** 1\
**Last updated:** [May 23, 2022, 5:28pm UTC](https://community.sonarsource.com/t/can-i-make-and-add-custom-rules-for-flutter/63202 "2022-05-23T17:28:48Z")

</div>

hi , i want to make and add custom rules for flutter. can i do it? if so, i want a guide for it. Thank you.

---

## [Could not start flutter analyse](https://community.sonarsource.com/t/could-not-start-flutter-analyse/62195)

<div class="topic-metadata">

**Author:** [@akemichan](https://community.sonarsource.com/u/akemichan)\
**Replies:** 1\
**Last updated:** [April 25, 2022, 3:13pm UTC](https://community.sonarsource.com/t/could-not-start-flutter-analyse/62195 "2022-04-25T15:13:37Z")

</div>

Must-share information (formatted with Markdown): which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension) what are you trying to achieve what have you tried so far to achieve this Hi, I’m…

[Next page](https://community.sonarsource.com/tag/dart-flutter/235.md?match_all_tags=true&page=1&tags%5B%5D=dart-flutter)
