flutter_pilotkit_claw
Flutter runtime bindings for Flutter PilotKit.
Install this package in the app you want to inspect or automate. It registers debug/profile-only VM Service extensions that can be called by flutter_pilotkit_cli or flutter_pilotkit_mcp.
Install
dependencies:
flutter_pilotkit_claw:
path: ../flutter_pilotkit/packages/flutter_pilotkit_claw
Initialize
import 'package:flutter/material.dart';
import 'package:flutter_pilotkit_claw/flutter_pilotkit_claw.dart';
void main() {
FlutterPilotKitBinding.captureLogs(() {
FlutterPilotKitBinding.ensureInitialized(
const FlutterPilotKitConfiguration(
enableRebuildTracking: true,
showTapFeedback: true,
),
);
runApp(const RepaintBoundary(child: MyApp()));
});
}
In release builds PilotKit does not register VM Service extensions.
Features
- Element tree and interactive element inspection.
- Gesture, text entry, scrolling, and navigation drivers.
- Screenshot and in-app log capture.
- Optional rebuild hotspot tracking.
See the repository README for CLI and MCP usage.