是否有用于扑打的信用卡扫描器API? CardIO插件不起作用。它无法识别我要导入的软件包 package:flutter_card_io / flutter_card_io.dart 。
详细信息在 https://pub.dartlang.org/packages/flutter_card_io
我收到错误消息。 URI的目标不存在:'package:flutter_card_io / flutter_card_io.dart
答案 0 :(得分:0)
您需要将此软件包添加到pubspec.yaml文件中,然后运行“ packages get”来更新依赖关系。看到: https://pub.dartlang.org/packages/flutter_card_io#-installing-tab-
答案 1 :(得分:0)
flutter_card_io> = 0.0.2,需要SDK版本> = 1.8.0 <2.0.0
它们已修复,但仍未发布到打包站点。 https://github.com/procedurallygenerated/flutter_card_io/issues/1
编辑: 您可以像这样直接从git获取它:
dependencies:
flutter:
sdk: flutter
flutter_card_io:
git:
https://github.com/procedurallygenerated/flutter_card_io.git
致谢!