Flutter Outline Shows "Nothing to show" in android studio

Flutter

Flutter Problem Overview


I am trying to extract a Widget via Flutter Outline, but I am facing below problem in Android Studio.

>Flutter Outline Shows "Nothing to show"

enter image description here

After running

flutter doctor -v

It shows:

enter image description here

How to overcome this problem?

Flutter Solutions


Solution 1 - Flutter

Move the mouse to any widget and Press Ctrl (or ⌘ command on macOS) and click on that widget.

After this step, your Flutter Outline will be enabled and showing widget tree

Solution 2 - Flutter

Click to red dart analysis server button, hopefully it will work

image

Solution 3 - Flutter

MacOS: command + click on widget.

Windows: ctrl + click on widget.

If they do not work, do not worry! Just follow these easy steps:

  1. Click Dart Analysis (on below part of Android Studio)
  2. You can see refresh button right side of Dart Analysis
  3. Click it, done!

> You can see image, click it:

enter image description here

Solution 4 - Flutter

I have same issues.

I just restart IntelliJ/Android studio and every time it's enough.

Solution 5 - Flutter

go to project directory on terminal by hitting, cd project_directory then, > flutter pub upgrade

Solution 6 - Flutter

Enable this then the outline will work:

An image showing the GUI with a target-like button highlighted

Solution 7 - Flutter

  1. click on a widget to select one
  2. press control and click the widget again (you will be directed to widget class)
  3. go back to the first window and the outline should be displayed

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionMd Mahmudul IslamView Question on Stackoverflow
Solution 1 - FlutterAamil SilawatView Answer on Stackoverflow
Solution 2 - FlutterShariar SaimonView Answer on Stackoverflow
Solution 3 - FlutterNamelessView Answer on Stackoverflow
Solution 4 - FlutterFlorian GustinView Answer on Stackoverflow
Solution 5 - FlutterasupriatnaView Answer on Stackoverflow
Solution 6 - FlutterSopheak PanhaView Answer on Stackoverflow
Solution 7 - FlutterKalindu RajapakshaView Answer on Stackoverflow