简体   繁体   English

Flutter local_auth 无法使用指纹的默认系统对话框

[英]Flutter local_auth unable to use default system dialog for fingerprint

I have a problem with Flutter local_auth fingerprint alert dialog.我有 Flutter local_auth 指纹警报对话框的问题。 I need to use a common system view of fingerprint request (images 1-2, it located at the bottom of the screen), but local_auth let me use only this one (image 3, located in the center).我需要使用指纹请求的通用系统视图(图像 1-2,它位于屏幕底部),但 local_auth 让我只使用这个(图像 3,位于中心)。 Maybe there is a simple solution close to it, but I still can't find it.也许有一个接近它的简单解决方案,但我仍然找不到它。 Flutter local_auth: https://pub.dev/packages/local_auth Flutter local_auth: https ://pub.dev/packages/local_auth

Images:图片:

在此处输入图片说明

I got it.我知道了。 The point was in my plugin version.重点在于我的插件版本。 i have imported 0.4, but the last was 0.6.我导入了 0.4,但最后一个是 0.6。 this last version also uses system default desing, but this default design is updated.最后一个版本也使用系统默认设计,但此默认设计已更新。 Pay more attention to this, when importing plugins - it can save you a lot of time在导入插件时多注意这一点 - 它可以为您节省大量时间

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM