screenshot_callback_pro 0.0.6 copy "screenshot_callback_pro: ^0.0.6" to clipboard
screenshot_callback_pro: ^0.0.6 copied to clipboard

screenshot_callback_pro,No permission required, just call back directly.This library is very user-friendly.

Screenshot Callback

Flutter plugin that allows you to detect mobile screenshot and execute callback functions on iOS and Android.

UsageIssues and FeedbackAuthorLicense

Feedback welcome and Pull Requests are most welcome!

Usage #

Import the package #

To use this plugin, follow the plugin installation instructions.

Use the plugin #

Add the following import to your Dart code:

import 'package:screenshot_callback_pro/screenshot_callback_pro.dart';

Initialize ScreenshotCallback with the scopes you want:

ScreenshotCallbackPro screenshotCallback = ScreenshotCallbackPro();

addListener #

Then invoke addListener method of ScreenshotCallback. Add custom functions that you want to excute after detect screenshot. e.g:

screenshotCallback.addListener(() {
  //Void funtions are implemented
  print('detect screenshot');
});

dispose #

You need to call dispose method to terminate ScreenshotCallback before you exit the app e.g:

screenshotCallback.dispose();

Issues and Feedback #

Please file issues to send feedback or report a bug. Thank you !

License #

MIT

2
likes
150
pub points
55%
popularity

Publisher

unverified uploader

screenshot_callback_pro,No permission required, just call back directly.This library is very user-friendly.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, pigeon

More

Packages that depend on screenshot_callback_pro