简体   繁体   中英

Is there any built in flutter library for 2D bar-code scanner?

I am developing a mobile application with Flutter framework and I want to scan bill bar-code and extract its code, so I need a bar-code scanner library for my app. Actually I've googled and found some libraries and SDKs, but they are not written in Dart and I have to import and implement them separately for Android and iOS directories, also it has lots of effort for me to import native codes to a Flutter project. Now I have following questions:
Is there any Dart written and Flutter compatible package, library, SDk, API or ... to use in Flutter project?
Hasn't Google made Flutter version of its ML-KIT or Google-Vision SDKs for its own multi platform framework?
Thanks in advance for helping me.

There are no direct flutter widgets available which supports Barcode reading as of now. Anyway you can use firebase_ml_vision plugin which pretty straight forward and easy to integrate.

https://pub.dartlang.org/packages/firebase_ml_vision

There is, but I haven't ever used it myself. Just searched it on here: https://pub.dartlang.org/flutter

https://pub.dartlang.org/packages/barcode_scan or maybe this https://pub.dartlang.org/packages/barcode_flutter

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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