core/commands/screenshot/screenshot library

Classes

ScreenshotFailed
Screenshot capture or post-processing failed.
ScreenshotResult
Result of a captureScreenshot invocation.
ScreenshotSaved
Screenshot was captured, optionally downscaled, and saved to path.

Functions

captureScreenshot(ScreenshotInput input, {Future<LifecycleQueryResult> lifecycleQuery()?}) → Future<ScreenshotResult>
Captures a screenshot of the running Flutter app.
screenshotHostPid() → int?

Typedefs

ScreenshotInput = ({bool fullResolution, String output})
Input parameters for captureScreenshot.