inspector_get_parent_chain
Retrieve the parent widget chain for a specified widget ID in Flutter apps, aiding in debugging widget tree structures. Supports custom debug port configurations.
Instructions
RPC: Get the parent chain for a widget (ext.flutter.inspector.getParentChain). Connects to the default Flutter debug port (8181) unless specified otherwise.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
objectId | Yes | ID of the widget to get parent chain for | |
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 get parent chain for",
"type": "string"
},
"port": {
"description": "Optional: Custom port number if not using default Flutter debug port 8181",
"type": "number"
}
},
"required": [
"objectId"
],
"type": "object"
}