'Flutter application is running in emulator but Flutter Widget Inspector is not displaying

I am running my flutter app successfully on my emulator. However, I need the use of the Widget Inspector for testing purposes.

To run my app I use the following:

flutter run --flavor dev -t lib/main_prod.dart

However, when I use the palette to bring up the "Open DevTools" I end up getting what is shown in the image

noInspector

I've run flutter clean before running my app and it still didn't work.

Please help!



Solution 1:[1]

Never mind, I figured it out.

I was looking for the typical pop-up tool bar and overlooked this: keyCommands

Simply pressing "h" for "List all available interactive commands." brought up a more comprehensive list with the option for an inspector:

moreKeyCommands

Pressing "v" to open the flutter tools here works.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Brian-Kan