flutter-intellij: Flutter Inspector no longer navigates to source code after Flutter plugin update to 85.0.4 in Android Studio / IntelliJ

After updating the Flutter plugin to version 85.0.4 in both Android Studio and IntelliJ IDEA, the Flutter Inspector no longer navigates to the source code in the editor when selecting a widget from the app interface.

Behavior before the update:

  • Selecting a widget using “Select Widget Mode” would highlight it in the widget tree ✅
  • It would also automatically open the source file in the editor and highlight the relevant code ✅

Behavior after the update:

  • Selecting a widget still highlights it in the widget tree ✅
  • But it does not open the source code in Android Studio anymore ❌

This appears to be a regression introduced in Flutter plugin version 85.0.4.

Steps to Reproduce

  1. Update Flutter plugin in Android Studio or IntelliJ to version 85.0.4
  2. Run a Flutter app in debug mode
  3. Open Flutter DevTools via the IDE
  4. Go to Inspector, enable “Select Widget Mode”
  5. Click on any widget in the running app
  6. Observe:
    • Widget is selected and highlighted in the widget tree ✅
    • No source code navigation happens in the IDE ❌

Expected Behavior

Selecting a widget via the Inspector should:

  • Highlight it in the widget tree ✅
  • Automatically navigate to the corresponding widget code in the source file ✅

Actual Behavior

  • Widget is selected in the tree ✅
  • But source code navigation no longer works ❌

Environment

  • Flutter SDK version: 3.29.2
  • Flutter plugin version: 85.0.4
  • Android Studio: Narwhal 2025.1.1 Canary 5
  • IntelliJ IDEA Ultimate: 2025.1 Release Candidate
  • Operating System: Windows 11
  • DevTools launch method: From within IDE
  • Run mode: Debug mode

Please confirm if this is a known regression in 85.0.4, and if there’s any workaround available. I’m available to help test further or provide logs if needed.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 9
  • Comments: 15 (6 by maintainers)

Commits related to this issue

Most upvoted comments

@jwren Can we get a fix + hotfix release for this? This is a pretty disruptive bug for Flutter development, so would be good to prioritize if we can.

Hey @lecaro, @zonanapo is right. Sorry for any confusion… We do still need to do a bit of testing but are aiming to have a fresh release with this fix out soon!

Not to be annoying… but I’m glad to see others are having the same issue. I spent almost 24 hours non-stop trying to fix this. I thought it was an isolated case… now I see it’s not, and I have more hope that it’ll be fixed soon… For anyone it might help, I can just say that VS Code works fine… but I still prefer Android Studio.

Refer to #6875 (comment)

Try the older Flutter Plugin Version (Please don’t update the Flutter Plugin Version if not necessary!!!): https://plugins.jetbrains.com/plugin/9212-flutter/versions/stable/423006

Image

This version is too old, 83.0.4 works well.

Using 85.2.3 can still reproduce this with Flutter 3.24.5.

As you can see, that commit hasn’t been merged yet, so I think we should wait.

My bad… I didn’t check, since I saw there was an update yesterday (April 14), I assumed the fix was already included here

I imagine I’m doing something wrong, but I can’t get it to work… 😦

As you can see, that commit hasn’t been merged yet, so I think we should wait.