v1.0.1
screen_capture_utils
一个用于处理 Android 和 iOS 设备上屏幕捕获事件的插件
18喜欢 11近 30 天下载150Pub 分数
AndroidiOS
一个用于处理 Android 和 iOS 上屏幕捕获事件的插件
以下为英文项目原文快照,最新内容请访问 GitHub。
A plugin to handle screen capture events on android and ios
late ScreenCaptureUtils screenCaptureUtils;
...
screenCaptureUtils = ScreenCaptureUtils(
// Path returns empty on iOS
onScreenCaptured: (_) {
print('Captured: $_');
},
/// Only on Android !!!
isGuarding: (bool val) {
print(val);
},
/// Only on Android !!!
onScreenCapturedWithDeniedPermission: () {
print('onScreenCapturedWithDeniedPermission');
},
)..intialize();
/// Guard Screen
screenCaptureUtils.guard();
/// Unguard Screen
screenCaptureUtils.unGuard();
Lots of PR's would be needed to improve this plugin. So lots of suggestions and PRs are welcome.
依赖清单 2 项
{"sdk":"flutter"}{"sdk":"flutter"}先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗