prevent_app_screen 0.1.2
prevent_app_screen: ^0.1.2 copied to clipboard
A Flutter plugin to prevent screenshots and screen recordings on Android, iOS, macOS, Windows, Linux, and Web.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add prevent_app_screenWith Flutter:
$ flutter pub add prevent_app_screenThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
prevent_app_screen: ^0.1.2Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:prevent_app_screen/prevent_app_screen.dart';