qr_scanner_master 1.0.1
qr_scanner_master: ^1.0.1 copied to clipboard
Professional QR Code Scanner and Generator Plugin for Flutter with advanced features including real-time scanning, QR generation, barcode support.
1.0.0 #
๐ Initial Release #
QR Scanner Master - Professional QR Code Scanner and Generator Plugin for Flutter
โจ Features
Advanced Scanning:
- Real-time camera scanning with customizable overlay
- Image file scanning from gallery or file system
- Support for 15+ barcode formats (QR Code, EAN-8/13, Code 39/93/128, DataMatrix, Aztec, PDF417, etc.)
- Multi-scan mode for scanning multiple codes in one session
- Auto-focus and flash control
- Scan area restriction for better performance
- Audio and haptic feedback
- Timeout and cancellation support
Professional QR Generation:
- High-quality QR code generation with customizable size (up to 4K)
- Advanced styling: colors, gradients, rounded corners
- Logo embedding in QR codes with automatic background
- Error correction levels (Low, Medium, Quartile, High)
- Border and margin customization
- Export to file or get as bytes
- Memory efficient processing
Platform Support:
- Android (API 21+) with CameraX and ML Kit integration
- iOS (12.0+) with AVFoundation and Vision framework
- Comprehensive permission handling
- Camera controls (flash, focus, resolution selection)
- Device capability detection
Developer Experience:
- Type-safe APIs with comprehensive documentation
- Custom exception handling with detailed error messages
- Preset configurations for common use cases
- Extensive customization options
- Memory efficient image processing
- Singleton pattern for optimal resource management
๐ง Technical Implementation
Android:
- CameraX for modern camera handling
- ML Kit for accurate barcode detection
- ZXing for QR code generation
- Kotlin implementation with coroutines
- Comprehensive permission management
iOS:
- AVFoundation for camera operations
- Vision framework for barcode detection
- Core Image for QR code generation
- Swift implementation with async/await
- Native iOS permission handling
๐ฑ Supported Platforms
- Android: API 21+ (Android 5.0+)
- iOS: 12.0+
- Flutter: 3.3.0+
- Dart: 3.8.0+
๐ฏ Use Cases
- E-commerce apps with product scanning
- Event management with ticket scanning
- Contact sharing with QR codes
- WiFi sharing and configuration
- Document and inventory management
- Marketing campaigns with QR codes
- Authentication and security applications
๐ฆ Dependencies
Dart:
plugin_platform_interface: ^2.0.2image: ^4.1.7path_provider: ^2.1.2permission_handler: ^11.3.0
Android:
androidx.camera:camera-*:1.3.1com.google.mlkit:barcode-scanning:17.2.0com.google.zxing:core:3.5.2com.journeyapps:zxing-android-embedded:4.3.0
iOS:
AVFoundationVisionCoreImageUIKit
๐ Getting Started
import 'package:qr_scanner_master/qr_scanner_master.dart';
final qrScanner = QrScannerMaster();
// Quick scan
final result = await qrScanner.quickScan();
// Quick generate
final qrBytes = await qrScanner.quickGenerate('Hello World');
๐ Documentation
- Comprehensive README with examples
- API documentation with detailed method descriptions
- Example app demonstrating all features
- Error handling guidelines
- Performance optimization tips
๐งช Testing
- Unit tests for all core functionality
- Mock implementations for testing
- Platform-specific test coverage
- Example app for manual testing
๐ Permissions
Android:
CAMERA- Required for camera scanningFLASHLIGHT- Optional for flash controlVIBRATE- Optional for haptic feedbackREAD_EXTERNAL_STORAGE- Optional for image scanning
iOS:
NSCameraUsageDescription- Required for camera accessNSPhotoLibraryUsageDescription- Optional for image scanning
๐จ Customization Examples
Advanced Scanning:
await qrScanner.scanWithCamera(
ScanOptions(
formats: [BarcodeFormat.qrCode],
enableFlash: true,
multiScan: true,
maxScans: 10,
showOverlay: true,
restrictScanArea: true,
scanAreaRatio: 0.8,
),
);
Styled QR Generation:
await qrScanner.generateQrCode(
'https://flutter.dev',
QrGenerationOptions(
size: 512,
foregroundColor: Color(0xFF2196F3),
backgroundColor: Color(0xFFFFFFFF),
roundedCorners: true,
cornerRadius: 8.0,
addBorder: true,
borderWidth: 4,
),
);
๐ Key Achievements
- 15+ barcode formats supported
- 4K QR code generation capability
- Sub-second scanning performance
- Memory efficient processing
- Cross-platform consistency
- Professional-grade customization
- Comprehensive error handling
- Developer-friendly APIs
This release establishes QR Scanner Master as the most comprehensive and professional QR code solution for Flutter applications.
1.0.1 #
- Fix Pub Point