flutter-control-and-screenshot
Installation
SKILL.md
Flutter Driver Control & Screenshot
This skill outlines the process of adding flutter_driver support to a Flutter application, launching it via the Dart MCP server, controlling it (tapping, finding widgets), and capturing screenshots (handling Web/Desktop specific constraints).
Prerequisites
- Dart MCP Server: Ensure the
dart-mcp-serveris active. - Flutter Project: You need a working Flutter project.
Step 1: Add Dependency
Add flutter_driver to the dev_dependencies in your pubspec.yaml.
dev_dependencies:
flutter_driver:
sdk: flutter