screen_capture_restrictions 1.0.1 copy "screen_capture_restrictions: ^1.0.1" to clipboard
screen_capture_restrictions: ^1.0.1 copied to clipboard

A flutter plugins to restrictions to screen capture on mobile platforms.

screen_capture_restrictions #

A flutter plugins to restrictions to screen capture on mobile platforms.

Installation #

Add screen_capture_restrictions as a dependency in your pubspec.yaml file.

Usage #

From your Dart code, you need to import the plugin and use it's static methods.

If you want to restrict screen captures, run enableSecure. To remove the restriction, execute disableSecure.

// restrict screen captures
await ScreenCaptureRestrictions.enableSecure();

// remove restriction
await ScreenCaptureRestrictions.disableSecure();
14
likes
140
points
1.42k
downloads

Publisher

verified publishercam-inc.dev

Weekly Downloads

A flutter plugins to restrictions to screen capture on mobile platforms.

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on screen_capture_restrictions