androidflutterdart

Clicking on a widget with Flutter inspector does not go to the code


I use android studio as an ide, when I clicked on a widget with inspactor, it would directly show where the code was, but it doesn't show it anymore, probably I broke some settings. For 2 days I've been looking for the cause, I couldn't find it.there are topics related to this question, but most of them are unanswered

Methods I have tried: Flutter update, Android studio update, methods in other topics,I searched in the Android studio settings and couldn't find anything


Solution

  • I am facing the same problem. That's why I went back to it's one of previous version this way:

    1. Go to the flutter directory (cd /Users/sony/development/flutter/bin)
    2. git checkout -f 3.10.5
    3. flutter --version

    enter image description here enter image description here enter image description here