windows_screen_guard 0.1.2
windows_screen_guard: ^0.1.2 copied to clipboard
Prevent screen capture, recording, and PrintScreen on Flutter Windows apps using the Windows display affinity API — the same method used by Netflix and banking apps.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add windows_screen_guardThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
windows_screen_guard: ^0.1.2Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:windows_screen_guard/windows_screen_guard.dart';