inspector_track_rebuild_dirty_widgets
Identify performance issues in Flutter apps by enabling widget rebuild tracking to detect unnecessary rendering, connected via the default debug port or a custom port.
Instructions
RPC: Track widget rebuilds to identify performance issues (ext.flutter.inspector.trackRebuildDirtyWidgets). Connects to the default Flutter debug port (8181) unless specified otherwise.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"enabled": "<enabled>"
},
"name": "inspector_track_rebuild_dirty_widgets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | Whether to enable or disable rebuild tracking | |
| port | No | Optional: Custom port number if not using default Flutter debug port 8181 |