我使用flutter的local_auth包(https://pub.dev/packages/local_auth/example)来验证指纹,到目前为止,当我使用该包时,它会检测指纹是否已经设置(useErrorDialogs:true ),如果没有,它会显示一条弹出消息,引导用户进行设置,如果它已经设置。它将显示弹出操作对话框以直接验证指纹...所以在这里我很困惑,有吗?一种“仅”检查用户手机中是否已设置指纹的方法?这是我尝试过的部分代码
authenticated = await auth.authenticateWithBiometrics(
localizedReason: 'Scan your fingerprint to authenticate',
useErrorDialogs: true,
stickyAuth: true);