Skip to main content

qaflow_agent 0.1.0 copy "qaflow_agent: ^0.1.0" to clipboard
qaflow_agent: ^0.1.0 copied to clipboard

In-app agent for QAFlow that exposes ext.qa.* VM service extensions so flows can drive a Flutter app.

example/lib/main.dart

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

// In your own app this file is lib/main_qa.dart, beside the lib/main.dart that
// release builds use. It is main.dart here so pub.dev finds the example.
void main() {
  QaAgent.install(onReset: () {});
  runApp(QaAgent.wrap(const MyApp()));
}

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

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: Scaffold(body: Center(child: Text('Hello'))),
    );
  }
}
1
likes
0
points
239
downloads

Publisher

unverified uploader

Weekly Downloads

In-app agent for QAFlow that exposes ext.qa.* VM service extensions so flows can drive a Flutter app.

Topics

#testing #flutter #e2e #automation

License

unknown (license)

Dependencies

flutter, qaflow_protocol

More

Packages that depend on qaflow_agent