|  |  |  | @ -20,7 +20,7 @@ class ImageOptions { | 
		
	
		
			
				|  |  |  |  |           if (Platform.isAndroid) { | 
		
	
		
			
				|  |  |  |  |             cameraImageAndroid(image); | 
		
	
		
			
				|  |  |  |  |           } else { | 
		
	
		
			
				|  |  |  |  |             File _image = File((await ImagePicker.platform.pickImage(source: ImageSource.camera, imageQuality: 10))?.path ?? ""); | 
		
	
		
			
				|  |  |  |  |             File _image = File((await ImagePicker.platform.pickImage(source: ImageSource.camera, imageQuality: 20))?.path ?? ""); | 
		
	
		
			
				|  |  |  |  |             String fileName = _image.path; | 
		
	
		
			
				|  |  |  |  |             var bytes = File(fileName).readAsBytesSync(); | 
		
	
		
			
				|  |  |  |  |             String base64Encode = base64.encode(bytes); | 
		
	
	
		
			
				
					|  |  |  | @ -33,7 +33,7 @@ class ImageOptions { | 
		
	
		
			
				|  |  |  |  |           if (Platform.isAndroid) { | 
		
	
		
			
				|  |  |  |  |             galleryImageAndroid(image); | 
		
	
		
			
				|  |  |  |  |           } else { | 
		
	
		
			
				|  |  |  |  |             File _image = File((await ImagePicker.platform.pickImage(source: ImageSource.gallery, imageQuality: 10))?.path ?? ""); | 
		
	
		
			
				|  |  |  |  |             File _image = File((await ImagePicker.platform.pickImage(source: ImageSource.gallery, imageQuality: 20))?.path ?? ""); | 
		
	
		
			
				|  |  |  |  |             String fileName = _image.path; | 
		
	
		
			
				|  |  |  |  |             var bytes = File(fileName).readAsBytesSync(); | 
		
	
		
			
				|  |  |  |  |             String base64Encode = base64.encode(bytes); | 
		
	
	
		
			
				
					|  |  |  | @ -114,7 +114,7 @@ class ImageOptions { | 
		
	
		
			
				|  |  |  |  | } | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  | void galleryImageAndroid(Function(String, File) image) async { | 
		
	
		
			
				|  |  |  |  |   File _image = File((await ImagePicker.platform.pickImage(source: ImageSource.gallery, imageQuality: 10))?.path ?? ""); | 
		
	
		
			
				|  |  |  |  |   File _image = File((await ImagePicker.platform.pickImage(source: ImageSource.gallery, imageQuality: 20))?.path ?? ""); | 
		
	
		
			
				|  |  |  |  |   String fileName = _image.path; | 
		
	
		
			
				|  |  |  |  |   var bytes = File(fileName).readAsBytesSync(); | 
		
	
		
			
				|  |  |  |  |   String base64Encode = base64.encode(bytes); | 
		
	
	
		
			
				
					|  |  |  | @ -124,7 +124,7 @@ void galleryImageAndroid(Function(String, File) image) async { | 
		
	
		
			
				|  |  |  |  | } | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  | void cameraImageAndroid(Function(String, File) image) async { | 
		
	
		
			
				|  |  |  |  |   File _image = File((await ImagePicker.platform.pickImage(source: ImageSource.camera, imageQuality: 10))?.path ?? ""); | 
		
	
		
			
				|  |  |  |  |   File _image = File((await ImagePicker.platform.pickImage(source: ImageSource.camera, imageQuality: 20))?.path ?? ""); | 
		
	
		
			
				|  |  |  |  |   String fileName = _image.path; | 
		
	
		
			
				|  |  |  |  |   var bytes = File(fileName).readAsBytesSync(); | 
		
	
		
			
				|  |  |  |  |   String base64Encode = base64.encode(bytes); | 
		
	
	
		
			
				
					|  |  |  | 
 |