fluttersdk_dusk
0.0.23, released 13 days ago by fluttersdk.com
Flutter E2E test driver for LLM agents and CLI via VM Service extensions without a test harness.
What it does
Provides 41 CLI commands and 39 MCP tools to drive a running Flutter application over VM Service extensions. It snapshots semantics trees, captures screenshots, and performs gestures without needing a traditional flutter_test harness.
AI-written summary of version 0.0.23, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want AI agents to interact with and test your running Flutter application.
- You need unscripted end-to-end automation via CLI commands or Model Context Protocol tools.
Skip it when
- You are writing traditional unit or widget tests using the flutter_test harness.
- You are running production builds (dusk is debug-only and tree-shaked in release).
Strengths
- Hot-restart safe and does not require separate test files.
- Bridges human CLI workflows and AI agent MCP tool calls using the same contracts.
- Features a 6-step actionability gate and stable ref system for reliable element targeting.
Weaknesses
- Debug-only tool that must be explicitly guarded against release builds.
- Requires proper lifecycle and platform setup (like VM Service extension wiring).
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 5
Run flutter pub add fluttersdk_dusk followed by dart run fluttersdk_dusk dusk:install, then wrap DuskPlugin.install() in !kReleaseMode in lib/main.dart.
flutter pub add fluttersdk_dusk
dart run fluttersdk_dusk dusk:installAlternatives
Packages that do the same job and could replace fluttersdk_dusk.
Works with
Packages commonly used together with fluttersdk_dusk: ones it builds on, ones built on it, and its own family.
- yamlfluttersdk_dusk depends on itA Dart library for parsing YAML documents into Dart data structures.
- imagefluttersdk_dusk depends on itPure Dart library to load, manipulate, encode, and decode various image formats.
- fluttersdk_windSame familyUtility‑first Tailwind‑style styling for Flutter using className strings.
- fluttersdk_telescopeSame familyPassive runtime inspector for Flutter capturing HTTP, logs, exceptions, and DB queries.