FlutterDefenderPlatformCallbacks constructor

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

Implementation

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