发布于 2020-02-14 17:05:08
我在我的项目中使用qrScan,我还没有遇到任何问题。我也不太容易使用:
import 'package:qrscan/qrscan.dart' as scanner;
Future _scan() async {
String barcode = await scanner.scan();
if (barcode == null) {
print('nothing return.');
} else {
this._outputController.text = barcode;
_displayDialog();
}
}发布于 2022-09-25 06:46:29
但如果你用
qrscan:可能会有一些问题,因为当你的qrscan应用程序处于扫描位置的背景中,并开始使用任何其他应用程序的设备相机时,可能会出现一些问题,在切换到您的应用程序之后,您的cammera会出现错误,景观模式也会出现问题,因此请尝试自己的风险。
https://stackoverflow.com/questions/60227676
复制相似问题