flutter_probe_agent 0.9.4 copy "flutter_probe_agent: ^0.9.4" to clipboard
flutter_probe_agent: ^0.9.4 copied to clipboard

On-device E2E test agent for FlutterProbe. Embeds in your Flutter app and executes test commands via direct widget-tree access with sub-50ms latency.

example/main.dart

import 'package:flutter/material.dart';
import 'package:flutter_probe_agent/flutter_probe_agent.dart';

Future<void> main() async {
  WidgetsFlutterBinding.ensureInitialized();

  // Only start the agent when built with --dart-define=PROBE_AGENT=true
  const probeEnabled =
      bool.fromEnvironment('PROBE_AGENT', defaultValue: false);
  if (probeEnabled) {
    await ProbeAgent.start();
  }

  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: const Text('FlutterProbe Example')),
        body: const Center(child: Text('Hello, FlutterProbe!')),
      ),
    );
  }
}
0
likes
150
points
241
downloads

Documentation

API reference

Publisher

verified publisheralphawavesystems.com

Weekly Downloads

On-device E2E test agent for FlutterProbe. Embeds in your Flutter app and executes test commands via direct widget-tree access with sub-50ms latency.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#testing #e2e #flutter #automation

License

MIT (license)

Dependencies

bonsoir, flutter

More

Packages that depend on flutter_probe_agent