|  |  | @ -115,13 +115,15 @@ Widget build(BuildContext context) { | 
			
		
	
		
		
			
				
					
					|  |  |  | ); |  |  |  | ); | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | // Or use FlutterZxing to create barcode directly |  |  |  | // Or use FlutterZxing to create barcode directly | 
			
		
	
		
		
			
				
					
					|  |  |  | final result = zx.encodeBarcode( |  |  |  | final Encode result = zx.encodeBarcode( | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     'Text to encode', |  |  |  |     contents: 'Text to encode', | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     params: EncodeParams( | 
			
		
	
		
		
			
				
					
					|  |  |  |         format: Format.QRCode, |  |  |  |         format: Format.QRCode, | 
			
		
	
		
		
			
				
					
					|  |  |  |         width: 120, |  |  |  |         width: 120, | 
			
		
	
		
		
			
				
					
					|  |  |  |         height: 120, |  |  |  |         height: 120, | 
			
		
	
		
		
			
				
					
					|  |  |  |         margin: 10, |  |  |  |         margin: 10, | 
			
		
	
		
		
			
				
					
					|  |  |  |         eccLevel: 0, |  |  |  |         eccLevel: 0, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     ), | 
			
		
	
		
		
			
				
					
					|  |  |  | ); |  |  |  | ); | 
			
		
	
		
		
			
				
					
					|  |  |  | if (result.isValid) { |  |  |  | if (result.isValid) { | 
			
		
	
		
		
			
				
					
					|  |  |  |     final img = imglib.Image.fromBytes(width, height, result.bytes); |  |  |  |     final img = imglib.Image.fromBytes(width, height, result.bytes); | 
			
		
	
	
		
		
			
				
					|  |  | 
 |