barcode_generator 0.2.5
barcode_generator: ^0.2.5 copied to clipboard
Barcode generator base on ZXing support multiple fortmats
barcode_generator #
Barcode generator base on ZXing support multiple fortmats with PlatformView
Note: This plugin is still under development, and some APIs might not be available yet. Feedback welcome and Pull Requests are most welcome!
Getting Started #
Check out the example directory for a sample app using Barcode generator.
BarcodeGenerator(
witdth: 300,
height: 200,
backgroundColor: Colors.red,
fromString: "xxxxxxxx",
codeType: BarCodeType.kBarcodeFormatCode128,
)
iOS Integration #
Opt-in to the embedded views preview by adding a boolean property to the app's Info.plist file with the key io.flutter.embedded_views_preview and the value YES.
<key>io.flutter.embedded_views_preview</key>
<true/>
Features #
- ✅ Generate barcode with multiple formats
- ✅ Supports adjusting the image's dimensions
- ✅ No internet connection required
- ❌ Scanning barcode
Supported Formats #
| 1D product | 1D industrial | 2D |
|---|---|---|
| UPC-A | Code 39 | QR Code |
| UPC-E | Code 93 | Data Matrix |
| EAN-8 | Code 128 | Aztec (beta) |
| EAN-13 | Codabar | PDF 417 (beta) |
| ITF | MaxiCode | |
| RSS-14 | ||
| RSS-Expanded |