ScreenshotConfig class
Configuration options for screenshot capture.
Constructors
- ScreenshotConfig({double pixelRatio = 3.0, ScreenshotFormat format = ScreenshotFormat.png, ScreenshotResultType resultType = ScreenshotResultType.base64, String? fileName, bool shouldShowDebugLogs = false, Duration? captureDelay})
-
const
Properties
- captureDelay → Duration?
-
Delay before capture (allows animations to complete).
final
- fileName → String?
-
File name (required for download output). Defaults to 'screenshot_
timestamp.png'final - format → ScreenshotFormat
-
Image format.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- pixelRatio → double
-
Pixel ratio (higher = better quality, larger size).
final
- resultType → ScreenshotResultType
-
Output type.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shouldShowDebugLogs → bool
-
Enable debug logging.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited