inspector_set_selection_by_id
Select a specific widget by its ID in a Flutter app for debugging. Connects to the default Flutter debug port (8181) or a custom port if specified.
Instructions
RPC: Set the selected widget by ID (ext.flutter.inspector.setSelectionById). Connects to the default Flutter debug port (8181) unless specified otherwise.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
port | No | Optional: Custom port number if not using default Flutter debug port 8181 | |
selectionId | Yes | ID of the widget to select |