Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flutter Widget Inspector - Not displaying

Tags:

flutter

I am using Android Studio 3.1.3 and my flutter inspector doesn't show anything in it.

https://flutter.io/inspector/#flutter-widget-inspector

select widget button etc... are not appearing.(However flutter outline is wokring)

I have installed both flutter and dart plugins.

like image 430
zaster Avatar asked Jul 04 '18 23:07

zaster


2 Answers

  1. Android Studio > Preferences > Languages & Frameworks > Flutter > App Execution > Open Flutter Inspector view on launch

  2. Close and Relaunch Android Studio > Open any Flutter Project > Open iOS Simulator or Android Emulator and Run Debug Mode

  3. View > Tool Window > Flutter Inspector

NB: In order for something to show up in the Flutter Inspector, your app has to be running on a Device or on a Simulator or Emulator.

like image 111
Muhammad Nabeel Avatar answered Sep 18 '22 15:09

Muhammad Nabeel


To make Flutter Widget Inspector work.

  1. Run the App.
  2. Check the emulator/simulator which screen is on.
  3. Select the respected file from the Left side - Project Explorer

And you will be able to see the Flutter Widget Inspector working :)

P.s. It is still not working, Select RenderTree or Performance and then Widget. It will get refreshed. This is how it is working at my end.

like image 24
Dhrumil Shah - dhuma1981 Avatar answered Sep 20 '22 15:09

Dhrumil Shah - dhuma1981