Flutter Inspector in Visual Studio code
Starting with version 2.24.0 the DevTools option is the new feature for debugging and inspecting.
Open the command palette Ctrl+Shift+P and type:
>Dart: Open DevTools
To access it your debug session must be running:
To inspect a Widget in Flutter project:
1- Open the Command Palette (Ctrl+Shift+P (Cmd+Shift+P on macOS)).
2- Select the Flutter: Inspect Widget command and press Enter.
3- Tap on any widget in emulator.
4- See the widget tree.
5- Good luck.