app_privacy_guard 0.0.6 copy "app_privacy_guard: ^0.0.6" to clipboard
app_privacy_guard: ^0.0.6 copied to clipboard

Blur in app switcher, Android secure flag, and iOS Dynamic Island watermark to protect sensitive UI.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:app_privacy_guard/app_privacy_guard.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await AppPrivacyGuard.instance.showWatermark(
    assetName: 'logo_beepul_horizontal_dark',
    size: 60,
    offsetY: -72,
    alpha: 1,
  );
  AppPrivacyGuard.instance.startAuto(mode: PrivacyMode.blur);

  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: const Text('Plugin example app')),
        body: Center(
          child: Container(
            height: 300,
            width: 300,
            decoration: BoxDecoration(color: Colors.red),
            child: Text('Running on'),
          ),
        ),
      ),
    );
  }
}
0
likes
140
points
68
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Blur in app switcher, Android secure flag, and iOS Dynamic Island watermark to protect sensitive UI.

Repository (GitHub)
View/report issues

Topics

#privacy #security #blur #watermark #plugin

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on app_privacy_guard

Packages that implement app_privacy_guard