flutter_windowmanager_v2 (Updated)
A Flutter plugin for managing Android window flags (such as preventing screenshots, keeping the screen on, etc.).
This is an updated fork of the original flutter_windowmanager package, recreated to support the latest versions of Flutter and Android (AGP 8+).
✨ Features
- Add or clear Android window flags from Flutter
- Common use cases:
- Prevent screenshots / screen recording
- Keep screen on
- Enable secure flags for sensitive screens
🚀 Installation
Add the dependency in your pubspec.yaml:
dependencies:
flutter_windowmanager_v2:
git:
url: https://github.com/Ajaay7/flutter_windowmanager_v2.git