barcode_scanner_package 1.0.0
barcode_scanner_package: ^1.0.0 copied to clipboard
A custom barcode scanner package for Flutter with camera preview and ML Kit integration
1.0.0 #
Features #
- ✨ Complete barcode scanner package with camera preview
- 🎯 Support for multiple barcode formats (QR, Code128, EAN, UPC, etc.)
- 🎨 Highly customizable scanning interface
- 📱 Cross-platform support (Android & iOS)
- ⚡ Real-time barcode scanning with ML Kit integration
- 🔒 Automatic camera permission handling
- 🎭 Beautiful animated scanning line
- 📐 Customizable scanning area size and colors
- 🎪 Professional corner brackets with customizable styling
- 📝 Customizable instruction text and overlay
- 🔄 Easy value return system for integration
- 🛠️ SimpleBarcodeScanner widget for easy integration
Customization Options #
scanningLineColor- Customize scanning line colorscanningLineHeight- Adjust scanning line thicknessscanningLineDuration- Control animation speedcornerBracketColor- Change bracket colorcornerBracketWidth- Adjust bracket thicknessscanningAreaSize- Resize scanning frameoverlayColor- Change overlay colorscanningInstructionText- Custom instruction textshowInstructions- Toggle instructionsshowScanningLine- Toggle scanning line
Example App #
- 📱 Complete example with default and custom scanner modes
- 🎮 Toggle between different customization themes
- 📊 Real-time value display
- ⚠️ Proper error handling and user feedback
Dependencies #
- camera: ^0.10.0
- google_mlkit_barcode_scanning: ^0.14.1
- permission_handler: ^12.0.1
Platform Support #
- Android SDK 21+
- iOS 12.0+
- Flutter 3.0.0+