flutter_screenshot_detect 0.1.7 copy "flutter_screenshot_detect: ^0.1.7" to clipboard
flutter_screenshot_detect: ^0.1.7 copied to clipboard

A Flutter plugin to detect screenshots on Android and iOS devices. It provides real-time detection using content observers for older Android versions and screen capture callbacks for Android 14+. Supp [...]

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add flutter_screenshot_detect

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

dependencies:
  flutter_screenshot_detect: ^0.1.7

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

Import it

Now in your Dart code, you can use:

import 'package:flutter_screenshot_detect/flutter_screenshot_detect.dart';
7
likes
150
points
1.13k
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin to detect screenshots on Android and iOS devices. It provides real-time detection using content observers for older Android versions and screen capture callbacks for Android 14+. Supports all Android versions.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on flutter_screenshot_detect