screenshot_observer 0.0.1
screenshot_observer: ^0.0.1 copied to clipboard

screenshot callback

screenshot_observer #

Handle screenshot event.

Refer to

getting started #

First, add the screenshot_observer package to your pubspec dependencies

Initialize observer

ScreenshotObserver.initialize();

Add screenshot event listener

ScreenshotObserver.addListener(() {
   // TODO. handler
});

Dispose resource

ScreenshotObserver.dispose();

TODO #

  • [ ] Test IOS device