flutter_core_brightness_override
Override the brightness (light, dark, or reset) of a Flutter app during debugging using the specified port. Enhances UI testing and theme validation.
Instructions
RPC: Override the brightness for the Flutter app
Input Schema
Name | Required | Description | Default |
---|---|---|---|
brightness | Yes | Brightness to override to (light, dark, or null to reset) | |
port | No | Port number where the Flutter app is running (defaults to 8181) |
Input Schema (JSON Schema)
{
"properties": {
"brightness": {
"description": "Brightness to override to (light, dark, or null to reset)",
"enum": [
"light",
"dark",
null
],
"type": "string"
},
"port": {
"description": "Port number where the Flutter app is running (defaults to 8181)",
"type": "number"
}
},
"required": [
"brightness"
],
"type": "object"
}