Usage • Issues and Feedback • Author • License
Feedback welcome and Pull Requests are most welcome!
To use this plugin, follow the plugin installation instructions.
Add the following import to your Dart code:
import 'package:screenshot_callback_plus/screenshot_callback_plus.dart';
Initialize ScreenshotCallbackPlus with the scopes you want:
ScreenshotCallbackPlus screenshotCallback = ScreenshotCallbackPlus();
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');
});
You need to call dispose
method to terminate ScreenshotCallback
before you exit the app e.g:
screenshotCallback.dispose();
Please file issues to send feedback or report a bug. Thank you !
- Gwangyu-Kim • kwangyu326@gmail.com
- minsub0922 • minsub0922@naver.com
- beygee • doug0476@naver.com
- Flutter Moum • fluttermoum@gmail.com
- Chandra Abdul Fattah • chandrashibezzo@gmail.com
MIT