FlutterDefenderPlatformCallbacks constructor

const FlutterDefenderPlatformCallbacks({
  1. VoidCallback? onScreenshotDetected,
  2. FlutterDefenderBoolCallback? onScreenCaptureChanged,
  3. VoidCallback? onOverlayViolation,
  4. FlutterDefenderBoolCallback? onForegroundStateChanged,
})

Implementation

const FlutterDefenderPlatformCallbacks({
  this.onScreenshotDetected,
  this.onScreenCaptureChanged,
  this.onOverlayViolation,
  this.onForegroundStateChanged,
});