v1.0.1
screen_capture_utils
一個用於處理 Android 和 iOS 設備上的螢幕擷取事件的外掛
18喜歡 11近 30 天下載150Pub 分數
AndroidiOS
一個用於處理 Android 和 iOS 上螢幕擷取事件的外掛
{"sdk":"flutter"}{"sdk":"flutter"}以下為英文專案原文快照,最新內容請造訪 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.