flexible_barcode_scanner 0.0.13
flexible_barcode_scanner: ^0.0.13 copied to clipboard
A highly customizable Flutter package for integrating a barcode scanner into your applications.
0.0.13 #
New Feature #
- Added
barcodeFormatsparameter toscanBarcodefunction andBarcodeScannerViewwidget - Introduced
FlexibleBarcodeFormatenum - no need to importgoogle_mlkit_barcode_scanningpackage - Users can now specify which barcode formats to scan (e.g., only QR codes, only EAN-13, etc.)
- If
barcodeFormatsis not provided, all formats will be scanned (default behavior)
Example Usage #
import 'package:flexible_barcode_scanner/flexible_barcode_scanner.dart';
// Scan only QR codes
await scanBarcode(context, barcodeFormats: [FlexibleBarcodeFormat.qrCode]);
// Scan specific formats
await scanBarcode(context, barcodeFormats: [
FlexibleBarcodeFormat.ean13,
FlexibleBarcodeFormat.code128
]);
0.0.1 #
Added #
-
Initial release of flexible_barcode_scanner.
-
Real-time barcode scanning using Google ML Kit.
-
Customizable scanning overlay with:
- Scanning area frame.
- Animated scanning line.
-
Support for flashlight toggle.
-
Camera switching between front and back cameras.
-
Basic documentation and examples for easy integration.