如何在 flutter 中读取 Nfc 卡数据并验证数据
我一直在颤振中制作一个显示用户详细信息的应用程序
FlutterNfcReader.onTagDiscovered().listen((onData) {
Navigator.push(context,
MaterialPageRoute(builder: (context) => username()),// new page that i want to navigate
);
I've been making an app in flutter that displays user details
FlutterNfcReader.onTagDiscovered().listen((onData) {
Navigator.push(context,
MaterialPageRoute(builder: (context) => username()),// new page that i want to navigate
);
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有了这个来自
flutter-nfc-reader
的分支,你现在可以从android读取和写入nfc标签,并从ios读取它们https://github.com/semakers/flutter-nfc-reader安装添加以下依赖项到您的
pubspec.yaml
With this fork from
flutter-nfc-reader
you can now read and write nfc tags from android and read them from ios https://github.com/semakers/flutter-nfc-readerto install add the following dependency your
pubspec.yaml