ScreenCapturer class

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

capture({CaptureMode mode = CaptureMode.region, String? imagePath, bool copyToClipboard = true, bool silent = true}) Future<CapturedData?>
Captures the screen and saves it to the specified imagePath
isAccessAllowed() Future<bool>
Checks whether the current process already has screen capture access
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readImageFromClipboard() Future<Uint8List?>
Reads an image from the clipboard
requestAccess({bool onlyOpenPrefPane = false}) Future<void>
Requests screen capture access
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance ScreenCapturer
The shared instance of ScreenCapturer.
final