ScreenCapturerPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • ScreenCapturerPlatform
Implementers

Constructors

ScreenCapturerPlatform()
Constructs a ScreenCapturerPlatform.

Properties

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

Methods

capture({required CaptureMode mode, String? imagePath, bool copyToClipboard = true, bool silent = true}) Future<CapturedData?>
captureScreen({required String imagePath}) Future<void>
isAccessAllowed() Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readImageFromClipboard() Future<Uint8List?>
requestAccess({bool onlyOpenPrefPane = false}) Future<void>
saveClipboardImageAsPngFile({required String imagePath}) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance ScreenCapturerPlatform
The default instance of ScreenCapturerPlatform to use.
getter/setter pair