|  |  | @ -5,9 +5,12 @@ import 'package:flutter/foundation.dart'; | 
			
		
	
		
		
			
				
					
					|  |  |  | import 'package:flutter/material.dart'; |  |  |  | import 'package:flutter/material.dart'; | 
			
		
	
		
		
			
				
					
					|  |  |  | import 'package:flutter/rendering.dart'; |  |  |  | import 'package:flutter/rendering.dart'; | 
			
		
	
		
		
			
				
					
					|  |  |  | import 'package:flutter/services.dart'; |  |  |  | import 'package:flutter/services.dart'; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | import 'package:get_it/get_it.dart'; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | import 'package:hmg_patient_app_new/core/cache_consts.dart'; | 
			
		
	
		
		
			
				
					
					|  |  |  | import 'package:hmg_patient_app_new/core/utils/size_utils.dart'; |  |  |  | import 'package:hmg_patient_app_new/core/utils/size_utils.dart'; | 
			
		
	
		
		
			
				
					
					|  |  |  | import 'package:hmg_patient_app_new/extensions/widget_extensions.dart'; |  |  |  | import 'package:hmg_patient_app_new/extensions/widget_extensions.dart'; | 
			
		
	
		
		
			
				
					
					|  |  |  | import 'package:hmg_patient_app_new/features/authentication/authentication_view_model.dart'; |  |  |  | import 'package:hmg_patient_app_new/features/authentication/authentication_view_model.dart'; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | import 'package:hmg_patient_app_new/services/cache_service.dart'; | 
			
		
	
		
		
			
				
					
					|  |  |  | import 'package:hmg_patient_app_new/theme/colors.dart'; |  |  |  | import 'package:hmg_patient_app_new/theme/colors.dart'; | 
			
		
	
		
		
			
				
					
					|  |  |  | import 'package:hmg_patient_app_new/widgets/appbar/app_bar_widget.dart'; |  |  |  | import 'package:hmg_patient_app_new/widgets/appbar/app_bar_widget.dart'; | 
			
		
	
		
		
			
				
					
					|  |  |  | import 'package:sms_otp_auto_verify/sms_otp_auto_verify.dart'; |  |  |  | import 'package:sms_otp_auto_verify/sms_otp_auto_verify.dart'; | 
			
		
	
	
		
		
			
				
					|  |  | @ -95,6 +98,8 @@ class OTPWidgetState extends State<OTPWidget> with SingleTickerProviderStateMixi | 
			
		
	
		
		
			
				
					
					|  |  |  |   bool hasFocus = false; |  |  |  |   bool hasFocus = false; | 
			
		
	
		
		
			
				
					
					|  |  |  |   AuthenticationViewModel? authVm; |  |  |  |   AuthenticationViewModel? authVm; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   final CacheService cacheService = GetIt.instance<CacheService>(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |   @override |  |  |  |   @override | 
			
		
	
		
		
			
				
					
					|  |  |  |   void didUpdateWidget(OTPWidget oldWidget) { |  |  |  |   void didUpdateWidget(OTPWidget oldWidget) { | 
			
		
	
		
		
			
				
					
					|  |  |  |     super.didUpdateWidget(oldWidget); |  |  |  |     super.didUpdateWidget(oldWidget); | 
			
		
	
	
		
		
			
				
					|  |  | @ -138,6 +143,7 @@ class OTPWidgetState extends State<OTPWidget> with SingleTickerProviderStateMixi | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  |     focusNode.addListener(_focusListener); |  |  |  |     focusNode.addListener(_focusListener); | 
			
		
	
		
		
			
				
					
					|  |  |  |     authVm?.otpScreenNotifier.addListener(_onOtpScreenNotifierChanged); |  |  |  |     authVm?.otpScreenNotifier.addListener(_onOtpScreenNotifierChanged); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     cacheService.remove(key: CacheConst.quickLoginEnabled); | 
			
		
	
		
		
			
				
					
					|  |  |  |   } |  |  |  |   } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |   void _controllerListener() { |  |  |  |   void _controllerListener() { | 
			
		
	
	
		
		
			
				
					|  |  | 
 |