screen_lock_check 2.0.1

SDKflutter
Platformandroidios

A plugin that checks whether the user has enabled a passcode, pattern lock, face id or touch id on their device.

screen_lock_check

This plugin allows you to check whether the user has some form of screen lock set on their device: a passcode, a pattern, touch ID or face ID.

How it works

There is an example app that demonstrates how the plugin can be used.

You just need to instatiate ScreenLockCheck and call the method isScreenLockEnabled. Providing the plugin can access the platform, this will return a Future which will resolve to true or false.