driver library

Host-side half of the ScreenStack Flutter SDK. Use it as the whole of test_driver/integration_test.dart:

import 'package:screenstack_sdk/driver.dart';

Future<void> main() => screenstackDriver();

This library runs on the host under flutter drive. Do not import it from app or integration test code.

Classes

CaptureOutputWriter
Writes screen PNGs, element PNGs and manifest.json on the host.
CaptureReport
What the on-device test hands to the host driver through IntegrationTestWidgetsFlutterBinding.reportData.
ElementCapture
A transparent element layer inside a screen capture.
ManifestV2
The manifest.json every runner writes next to its PNGs.
ScreenCapture
One entry of ManifestV2 captures (see docs/contracts.md section 5).

Functions

screenstackDriver({String? outDir}) → Future<void>
Runs the flutter drive host side of a ScreenStack capture.