skip to Main Content

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

2

Answers


  1. To fix the issue of the Android Studio inspector not showing the code for a widget, make sure that you are running the latest version of Android Studio and Flutter. Then, open the App Inspection window and select the Widget Inspector tab. Click on the widget that you want to inspect and the code should now be displayed in the Code pane. If the code is not displayed, try the following: make sure that the widget is part of the running app process, restart Android Studio, or clear the Android Studio cache and restart.

    Login or Signup to reply.
  2. 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

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search