I'm trying to build an application that will lock the screen on a timer in Flutter. I'm wondering how to grant android device administrator permissions to an application in flutter. I've found this but it's not really helpful i feel for flutter.
https://developer.android.com/guide/topics/admin/device-admin#java
Does anyone have any suggestions?