AmolGangadhare / flutter_barcode_scanner

Barcode scanner plugin for flutter. Supports barcode scanning for Android and iOS
https://pub.dev/packages/flutter_barcode_scanner
MIT License
379 stars 453 forks source link

Barcode Type (1D/2D) Filter #130

Open patv2learn opened 3 years ago

patv2learn commented 3 years ago

Barcode type, this should allow the user to select if they want to capture 1D or 2D barcode. I have a requirement where one document has 1D and 2D both code on the page but the application should scan only 1D barcode. I am digging into the code but I am new to Flutter and so not very clear. I am happy to work on this enhancement if anyone can guide me. Thanks.

bharathiselvan commented 3 years ago

I'd also like to have this feature

It would be good if it supports scanning of different barcode types like aztec, code128, code39, code93, dataMatrix, ean13, ean8, interleaved2of5, pdf417, qr, upce,

AmolGangadhare commented 3 years ago

@patv2learn

The current implementation already has the ScanMode parameter from which you can invoke the respective layout for scanning. Apart from this if you have any different scenario or requirement you can post here.

mikah22 commented 3 years ago

Hi Amol, great job on the barcode scanner. I have one small request, when scanning a barcode, could the API return back the barcode type (code128, ean8 etc) along with the barcode text? Barcode type allows me to render an image of the barcode in the future.

qasim90 commented 3 years ago

Any plans to support this feature? I too need barcode type to generate barcode image accordingly.

jprobert commented 3 years ago

Me too, that would be a really nice feature.

alphanumericaracters commented 1 year ago

Can anyone tell me if i can use only one format (like pdf417) and not the others 2d formats??? (users are such a Mot...F... that use other formats to bug the app)