capture_detector
Flutter plugin that allows you to detect iOS screen capture.
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:capture_detector/capture_detector.dart';
There are two way to get state of screen captured.
Subscription
CaptureDetector.isCapturedStream.listen((event) => print(event));
Once
CaptureDetector.getIsCaptured.then((val) => print(val));
Issues and Feedback
Please file issues to send feedback or report a bug. Thank you !
Author
License
MIT