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 |