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.jsonon 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.jsonevery runner writes next to its PNGs. - ScreenCapture
-
One entry of ManifestV2
captures(seedocs/contracts.mdsection 5).
Functions
-
screenstackDriver(
{String? outDir}) → Future< void> -
Runs the
flutter drivehost side of a ScreenStack capture.