Home > Blockchain >  How to screen off or lock the device by clicking our app icon in flutter
How to screen off or lock the device by clicking our app icon in flutter

Time:04-01

I want to turn off / lock the screen of my device by the clicking the icon of my app in flutter.

Like some new Android devices have this functionality.

Anyone Please guide me.

I am at beginner level in flutter.

CodePudding user response:

There are couple of plugins out there you can check them

flutter_screen_lock

flutter_lock_screen

CodePudding user response:

The feature you are asking for needs native implications. The question has already been answered in one of the forum. It can be a bit tricky to implement. Have a look at the form link below

stack overflow solution

  • Related