playbook/src/playbook_camera library
Classes
- PlaybookCamera
- Takes a playbook run's screenshots once each step settles.
- PlaybookScreenshotStep
-
A
screenshot()step: the screen to capture, by name, in each of locales and themes. - PlaybookShot
- One capture taken during a playbook run.
Enums
- PlaybookScreenshots
- Which screens a playbook run captures.
- PlaybookShotKind
- Why a PlaybookShot was taken.
Typedefs
-
PlaybookLook
= Future<
Future< Function({String? locale, String? theme})void> Function()> - Shows the app in a locale and theme and returns a function that puts back the ones before, like ScreenshotLook.show.
-
PlaybookNative
= Future<
void> Function({required String id, String? locale, required String name, String? theme}) -
Asks Metro to capture the whole screen for the shot
id, and completes once it has. Throws with the reason when it can't.