screenshot/ny_screenshot library

Screenshots: PNGs of the app's screen, or of one part of it.

Screenshot.capture reads the whole screen and Screenshot.area reads a ScreenshotArea, in any build mode. Metro captures a running app with metro live:run screenshot.

Classes

Screenshot
A PNG of the app's screen, or of one ScreenshotArea.
ScreenshotArea
Marks part of the screen that Screenshot.area can capture by name.
ScreenshotHidden
Hides child in every screenshot, e.g. an account number on a receipt a user shares, or a card number in a store screenshot.
ScreenshotLook
Shows the app in another locale or theme for a screenshot, without restarting it, and puts it back afterwards.
ScreenshotRoot
The boundary Screenshot.capture reads the app's screen from, with an overlay above it for things that stay out of captures.
ScreenshotStore
A screenshot size an app store asks for.