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< ScreenshotResult> - Captures a screenshot of the running Flutter app.
Typedefs
- ScreenshotInput = ({bool fullResolution, String output})
- Input parameters for captureScreenshot.