Provides the ability to lock the screen on ios and android . Biometric authentication can be used in addition to passcode.
Read moreHow do you keep your app awake on flutter?
How to Keep App Screen Awake in Flutter App
Read moreHow do I keep screen on flutter?
If you want to enable the wakelock, i.e. keep the device awake, you can simply call Wakelock . enable and to disable it again, you can use Wakelock. disable : import ‘package:wakelock/wakelock.
Read moreHow do I turn off screen flutter?
To keep the screen from turning off, call the turnOn method of the KeepScreenOn class . Calling the turnOff method of the KeepScreenOn class will restore the screen to turn off automatically. Alternatively, you can do the same by specifying false as the argument to the turnOn method.
Read more