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

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

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add screenshot_detector_callback

With Flutter:

 $ flutter pub add screenshot_detector_callback

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  screenshot_detector_callback: ^1.0.1

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:screenshot_detector_callback/plugin/pigeon.g.dart';
import 'package:screenshot_detector_callback/plugin/screenshot_callback_fix_plugin.dart';
import 'package:screenshot_detector_callback/screenshot_callback_fix.dart';
1
likes
0
points
144
downloads

Publisher

unverified uploader

Weekly Downloads

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

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, pigeon

More

Packages that depend on screenshot_detector_callback

Packages that implement screenshot_detector_callback