screenshot_blocker 0.2.0 copy "screenshot_blocker: ^0.2.0" to clipboard
screenshot_blocker: ^0.2.0 copied to clipboard

A Flutter plugin to prevent screenshots and screen recording for Android.

📵 screenshot_blocker #

A Flutter plugin to prevent screenshots and screen recordings on Android, and to detect when a screenshot is taken on iOS.


✨ Features #

  • Android

    • Prevent screenshots and screen recordings using FLAG_SECURE
    • Dynamically enable or disable screenshot blocking
  • iOS

    • Detect when a screenshot is taken using system notifications
  • 🚫 Web

    • Not supported yet (due to platform limitations)

✅ Important note: #

dispose.png

📸 Example Code: #

full_code.png


🧩 Installation #

Add the package to your pubspec.yaml:

dependencies:
  screenshot_blocker: ^0.1.0

2
likes
150
points
12
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin to prevent screenshots and screen recording for Android.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on screenshot_blocker

Packages that implement screenshot_blocker