generate_flutter_golden_tests
Generates golden snapshot tests for Flutter widgets across light and dark modes on phone and tablet viewports.
Instructions
Generates multi-device golden snapshot test suites for Flutter widgets across Light/Dark modes, phone, and tablet viewports.
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": {
"screenName": "<screenName>"
},
"name": "generate_flutter_golden_tests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| screenName | Yes | Name of the screen widget class (e.g. 'DashboardScreen'). | |
| testThemes | No | ||
| widgetName | No | Name of the widget to snapshot. | Screen |