I want to generate barcode in flutter but I only found barcode scanner packages like barcode_scan but I want something like zxing library (native in Android) for flutter that also generates Barcode in multiple formats like EAN, Code128 etc. Although my requirement is EAN.
I've already implemented a Flutter library did just what you want.
Please check here barcode_flutter EAN8 and EAN13 are both supported.
barcode_scan uses the zxing library for the Android plugin, so you could easily extend that plugin to support the APIs for barcode generation. For the iOS version of the plugin, AVMetadataMachineReadableCodeObject is used instead of zxing, since the iOS port of xzing has been discontinued. Flutter supports iOS 8.0+, and iOS 8.0 introduced APIs for generating barcodes as part of the Core Image API. The supported formats are:
If the barcode you are looking for in this list, it will be easy to fork the barcode_scan package to add the generating functionality for your app.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With