inspector_get_layout_explorer_node
Retrieve detailed layout explorer information for a specific widget in a Flutter app, enabling precise debugging of widget trees and layout issues. Supports custom debug ports.
Instructions
RPC: Get layout explorer information for a widget (ext.flutter.inspector.getLayoutExplorerNode). Connects to the default Flutter debug port (8181) unless specified otherwise.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
objectId | Yes | ID of the widget to inspect | |
port | No | Optional: Custom port number if not using default Flutter debug port 8181 |
Input Schema (JSON Schema)
{
"properties": {
"objectId": {
"description": "ID of the widget to inspect",
"type": "string"
},
"port": {
"description": "Optional: Custom port number if not using default Flutter debug port 8181",
"type": "number"
}
},
"required": [
"objectId"
],
"type": "object"
}