|  |  | @ -7,7 +7,7 @@ A barcode and QR code scanner based on [ZXing C++](https://github.com/nu-book/zx | 
			
		
	
		
		
			
				
					
					|  |  |  | <img alt="04_trending_repository_screen" src="https://user-images.githubusercontent.com/11523360/167903986-dc69efca-4520-4494-9298-24ea7b3da941.jpg" width="240">  <img alt="04_trending_repository_screen" src="https://user-images.githubusercontent.com/11523360/167904002-114d9844-964d-4b84-9ea0-8185ed1d2bb8.jpg" width="240">  <img alt="04_trending_repository_screen" src="https://user-images.githubusercontent.com/11523360/167904024-809aa434-c0f5-4069-a223-da78fe48d671.jpg" width="240">   |  |  |  | <img alt="04_trending_repository_screen" src="https://user-images.githubusercontent.com/11523360/167903986-dc69efca-4520-4494-9298-24ea7b3da941.jpg" width="240">  <img alt="04_trending_repository_screen" src="https://user-images.githubusercontent.com/11523360/167904002-114d9844-964d-4b84-9ea0-8185ed1d2bb8.jpg" width="240">  <img alt="04_trending_repository_screen" src="https://user-images.githubusercontent.com/11523360/167904024-809aa434-c0f5-4069-a223-da78fe48d671.jpg" width="240">   | 
			
		
	
		
		
			
				
					
					|  |  |  | </pre> |  |  |  | </pre> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | ## Supported Formats |  |  |  | ## Supported Barcode Formats | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | | 1D product | 1D industrial     | 2D |  |  |  | | 1D product | 1D industrial     | 2D | 
			
		
	
		
		
			
				
					
					|  |  |  | | ---------- | ----------------- | -------------- |  |  |  | | ---------- | ----------------- | -------------- | 
			
		
	
	
		
		
			
				
					|  |  | @ -18,16 +18,23 @@ A barcode and QR code scanner based on [ZXing C++](https://github.com/nu-book/zx | 
			
		
	
		
		
			
				
					
					|  |  |  | | DataBar    | ITF               | MaxiCode (beta) |  |  |  | | DataBar    | ITF               | MaxiCode (beta) | 
			
		
	
		
		
			
				
					
					|  |  |  | |            | DataBar Expanded  | |  |  |  | |            | DataBar Expanded  | | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | ## Features | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | - [x] Read barcode from camera  | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | - [x] Read barcode from gallery | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | - [x] Create barcode from text | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | - [ ] Read multiple barcodes from camera or gallery | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | - [ ] Return scanned barcode position and size | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | ## Getting Started |  |  |  | ## Getting Started | 
			
		
	
		
		
			
				
					
					|  |  |  | ### To read barcode: |  |  |  | ### To read barcode: | 
			
		
	
		
		
			
				
					
					|  |  |  | ```dart |  |  |  | ```dart | 
			
		
	
		
		
			
				
					
					|  |  |  | import 'package:flutter_zxing/flutter_zxing.dart'; |  |  |  | import 'package:flutter_zxing/flutter_zxing.dart'; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | // Use ZxingReaderWidget to quickly read barcode from camera image |  |  |  | // Use ReaderWidget to quickly read barcode from camera image | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | @override |  |  |  | @override | 
			
		
	
		
		
			
				
					
					|  |  |  | Widget build(BuildContext context) { |  |  |  | Widget build(BuildContext context) { | 
			
		
	
		
		
			
				
					
					|  |  |  |     return Scaffold( |  |  |  |     return Scaffold( | 
			
		
	
		
		
			
				
					
					|  |  |  |         body: ZxingReaderWidget( |  |  |  |         body: ReaderWidget( | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             onScan: (result) async { |  |  |  |             onScan: (result) async { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 // Do something with the result |  |  |  |                 // Do something with the result | 
			
		
	
		
		
			
				
					
					|  |  |  |             }, |  |  |  |             }, | 
			
		
	
	
		
		
			
				
					|  |  | @ -52,11 +59,11 @@ import 'package:flutter_zxing/flutter_zxing.dart'; | 
			
		
	
		
		
			
				
					
					|  |  |  | import 'dart:typed_data'; |  |  |  | import 'dart:typed_data'; | 
			
		
	
		
		
			
				
					
					|  |  |  | import 'package:image/image.dart' as imglib; |  |  |  | import 'package:image/image.dart' as imglib; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | // Use ZxingWriterWidget to quickly read barcode from camera image |  |  |  | // Use WriterWidget to quickly read barcode from camera image | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | @override |  |  |  | @override | 
			
		
	
		
		
			
				
					
					|  |  |  | Widget build(BuildContext context) { |  |  |  | Widget build(BuildContext context) { | 
			
		
	
		
		
			
				
					
					|  |  |  |     return Scaffold( |  |  |  |     return Scaffold( | 
			
		
	
		
		
			
				
					
					|  |  |  |         body: ZxingWriterWidget( |  |  |  |         body: WriterWidget( | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             onSuccess: (result, bytes) { |  |  |  |             onSuccess: (result, bytes) { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 // Do something with the result |  |  |  |                 // Do something with the result | 
			
		
	
		
		
			
				
					
					|  |  |  |             }, |  |  |  |             }, | 
			
		
	
	
		
		
			
				
					|  |  | 
 |