screen_protector 1.1.3+1 copy "screen_protector: ^1.1.3+1" to clipboard
screen_protector: ^1.1.3+1 copied to clipboard

outdated

Safe Data Leakage via Application Background Screenshot and Prevent Screenshot for Android and iOS.

screen_protector #

Safe Data Leakage via Application Background Screenshot and Prevent Screenshot for Android and iOS.

Feature #

iOS #

Protect Data Leakage Background Screenshot

  • Protect data leakage with image
await ScreenProtector.protectDataLeakageWithImage('LaunchImage');
  • Protect data leakage with color
await ScreenProtector.protectDataLeakageWithColor(Colors.white);
  • Protect data leakage with blur
await ScreenProtector.protectDataLeakageWithBlur();

Prevent Screenshot

  • ON
await ScreenProtector.preventScreenshotOn();
  • OFF
await ScreenProtector.preventScreenshotOff();

Android #

Protect Data Leakage Background Screenshot and Prevent Screenshot

  • ON
await ScreenProtector.protectDataLeakageOn();

or

await ScreenProtector.preventScreenshotOn();
  • OFF
await ScreenProtector.protectDataLeakageOff();

or

await ScreenProtector.preventScreenshotOff();

Usage #

Android #

  • Protect Data Leakage Background Screenshot and Prevent Screenshot.
class _PreventScreenshotPageState extends State<MyApp> {
  
  @override
  void initState() async {
    await ScreenProtector.protectDataLeakageOn();
    super.initState();
  }

  @override
  void dispose() async {
    await ScreenProtector.protectDataLeakageOff();
    super.dispose();
  }
  
}

iOS #

  • Prevent Screenshot
class _PreventScreenshotPageState extends State<MyApp> {
  
  @override
  void initState() async {
    await ScreenProtector.preventScreenshotOn();
    super.initState();
  }

  @override
  void dispose() async {
    await ScreenProtector.preventScreenshotOff();
    super.dispose();
  }
  
}
  • Protect data leakage with color
class _ProtectDataLeakagePageState extends State<MyApp> {
  
  @override
  void initState() async {
    await ScreenProtector.protectDataLeakageWithColor(Colors.white);
    super.initState();
  }
  
}
  • Protect data leakage with image

image01.png

class _ProtectDataLeakagePageState extends State<MyApp> {
  
  @override
  void initState() async {
    await ScreenProtector.protectDataLeakageWithImage('LaunchImage');
    super.initState();
  }
  
}
  • Protect data leakage with blur
class _ProtectDataLeakagePageState extends State<MyApp> {
  
  @override
  void initState() async {
    await ScreenProtector.protectDataLeakageWithBlur();
    super.initState();
  }
  
}
234
likes
0
pub points
98%
popularity

Publisher

verified publisherwachasit.com

Safe Data Leakage via Application Background Screenshot and Prevent Screenshot for Android and iOS.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on screen_protector