Find Flutter Widget [Pro]
flutter_find_widgetSearch the Flutter widget tree for widgets matching a query by type name, description, or text. Returns source locations of matching widgets. Use to locate specific UI elements during debugging or test generation.
Instructions
[Pro] Search the widget tree for widgets matching a query. Searches by widget type name, description, and text content. Example queries: 'ElevatedButton', 'Text', 'AppBar', 'Login'. Returns matching widgets with their source locations.
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": {
"query": "<query>"
},
"name": "flutter_find_widget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Widget type, text, or description to search for (e.g., 'ElevatedButton', 'Login') | |
| summary_only | No | Search only user-created widgets (true) or full tree (false) |