flutter-skill-mcp 0.2.14 → 0.2.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -96,7 +96,7 @@ flutter-skill.inspect()
|
|
|
96
96
|
### UI Inspection
|
|
97
97
|
| Tool | Description |
|
|
98
98
|
|------|-------------|
|
|
99
|
-
| `inspect` | Get interactive elements
|
|
99
|
+
| `inspect` | Get interactive elements with coordinates, size, and center point |
|
|
100
100
|
| `get_widget_tree` | Get widget tree structure with depth control |
|
|
101
101
|
| `get_widget_properties` | Get properties of a widget (size, position, visibility) |
|
|
102
102
|
| `get_text_content` | Extract all visible text from the screen |
|
|
@@ -105,13 +105,14 @@ flutter-skill.inspect()
|
|
|
105
105
|
### Interactions
|
|
106
106
|
| Tool | Description |
|
|
107
107
|
|------|-------------|
|
|
108
|
-
| `tap` | Tap a widget by Key or Text |
|
|
108
|
+
| `tap` | Tap a widget by Key or Text (returns success/failure) |
|
|
109
109
|
| `double_tap` | Double tap a widget |
|
|
110
110
|
| `long_press` | Long press with configurable duration |
|
|
111
111
|
| `swipe` | Swipe gesture (up/down/left/right) |
|
|
112
|
+
| `edge_swipe` | Swipe from screen edge (for drawer menus, back gestures) |
|
|
112
113
|
| `drag` | Drag from one element to another |
|
|
113
114
|
| `scroll_to` | Scroll to make an element visible |
|
|
114
|
-
| `enter_text` | Enter text into a text field |
|
|
115
|
+
| `enter_text` | Enter text into a text field (returns success/failure) |
|
|
115
116
|
|
|
116
117
|
### State & Validation
|
|
117
118
|
| Tool | Description |
|
|
@@ -125,7 +126,8 @@ flutter-skill.inspect()
|
|
|
125
126
|
### Screenshots
|
|
126
127
|
| Tool | Description |
|
|
127
128
|
|------|-------------|
|
|
128
|
-
| `screenshot` | Take full app screenshot (
|
|
129
|
+
| `screenshot` | Take full app screenshot (quality, max_width options) |
|
|
130
|
+
| `screenshot_region` | Take screenshot of specific region (x, y, width, height) |
|
|
129
131
|
| `screenshot_element` | Take screenshot of specific element |
|
|
130
132
|
|
|
131
133
|
### Navigation
|
|
@@ -187,7 +189,7 @@ flutter-skill launch /path/to/project
|
|
|
187
189
|
1. Add dependency:
|
|
188
190
|
```yaml
|
|
189
191
|
dependencies:
|
|
190
|
-
flutter_skill: ^0.2.
|
|
192
|
+
flutter_skill: ^0.2.16
|
|
191
193
|
```
|
|
192
194
|
|
|
193
195
|
2. Initialize in main.dart:
|