hasScreenLockPassword function

Future<bool> hasScreenLockPassword({
  1. required LocalAuthentication auth,
})

Implementation

Future<bool> hasScreenLockPassword({required LocalAuthentication auth}) async {
  return await auth.canCheckBiometrics && await auth.isDeviceSupported();
}