ScreenshotObserverPlugin class Null safety

Constructors

ScreenshotObserverPlugin({bool? requestPermissions})

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
onCallbacks List<VoidCallback>
Functions to execute when callback fired.
read / write
requestPermissions bool?
If true, the user will be asked to grant storage permissions when callback is added. [...]
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

addListenerCallback(VoidCallback callback) → void
Add void callback.
checkPermission() Future<void>
Checks if user has granted permissions for storage. [...]
dispose() Future<void>
Remove callback listener.
initialize() Future<void>
Initializes screenshot callback plugin.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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