ultron_screenshot_shield 2.0.0 copy "ultron_screenshot_shield: ^2.0.0" to clipboard
ultron_screenshot_shield: ^2.0.0 copied to clipboard

A Flutter plugin to enable and disable screenshot for Android and iOS

ultron_screenshot_shield #

Flutter plugin to enable or disable screenshot support in your application.

Getting Started #

If you want to prevent user from taking screenshot of your app.

You can disable the screenshot support by simply calling

await UltronScreenshotShield.disableScreenshot();

You can enable again the screenshot support by simply calling

await UltronScreenshotShield.enableScreenshot();

for the relevant screen.

This can further be toggled for a specific screen by either using a RouteAware mixin, or through direct toggling in initState() and dispose() methods in the case of stateful widgets.

0
likes
160
points
244
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin to enable and disable screenshot for Android and iOS

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on ultron_screenshot_shield

Packages that implement ultron_screenshot_shield