|  |  | @ -288,6 +288,8 @@ class _CherryToastState extends State<CherryToast> with TickerProviderStateMixin | 
			
		
	
		
		
			
				
					
					|  |  |  |   late AnimationController slideController; |  |  |  |   late AnimationController slideController; | 
			
		
	
		
		
			
				
					
					|  |  |  |   late BoxDecoration toastDecoration; |  |  |  |   late BoxDecoration toastDecoration; | 
			
		
	
		
		
			
				
					
					|  |  |  |    |  |  |  |    | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   bool _dismissed = false; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |   @override |  |  |  |   @override | 
			
		
	
		
		
			
				
					
					|  |  |  |   void initState() { |  |  |  |   void initState() { | 
			
		
	
		
		
			
				
					
					|  |  |  |     super.initState(); |  |  |  |     super.initState(); | 
			
		
	
	
		
		
			
				
					|  |  | @ -311,7 +313,10 @@ class _CherryToastState extends State<CherryToast> with TickerProviderStateMixin | 
			
		
	
		
		
			
				
					
					|  |  |  |       Timer(this.widget.toastDuration, () { |  |  |  |       Timer(this.widget.toastDuration, () { | 
			
		
	
		
		
			
				
					
					|  |  |  |         slideController.reverse(); |  |  |  |         slideController.reverse(); | 
			
		
	
		
		
			
				
					
					|  |  |  |         Timer(this.widget.animationDuration, () { |  |  |  |         Timer(this.widget.animationDuration, () { | 
			
		
	
		
		
			
				
					
					|  |  |  |           if (mounted) Navigator.pop(context); |  |  |  |           if (mounted && !_dismissed) { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             _dismissed = true; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             Navigator.pop(context); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           } | 
			
		
	
		
		
			
				
					
					|  |  |  |         }); |  |  |  |         }); | 
			
		
	
		
		
			
				
					
					|  |  |  |       }); |  |  |  |       }); | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     } | 
			
		
	
	
		
		
			
				
					|  |  | @ -463,7 +468,10 @@ class _CherryToastState extends State<CherryToast> with TickerProviderStateMixin | 
			
		
	
		
		
			
				
					
					|  |  |  |       onTap: () { |  |  |  |       onTap: () { | 
			
		
	
		
		
			
				
					
					|  |  |  |         slideController.reverse(); |  |  |  |         slideController.reverse(); | 
			
		
	
		
		
			
				
					
					|  |  |  |         Timer(this.widget.animationDuration, () { |  |  |  |         Timer(this.widget.animationDuration, () { | 
			
		
	
		
		
			
				
					
					|  |  |  |           if (mounted) Navigator.pop(context); |  |  |  |           if (mounted && !_dismissed) { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             _dismissed = true; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             Navigator.pop(context); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           } | 
			
		
	
		
		
			
				
					
					|  |  |  |         }); |  |  |  |         }); | 
			
		
	
		
		
			
				
					
					|  |  |  |       }, |  |  |  |       }, | 
			
		
	
		
		
			
				
					
					|  |  |  |       child: Icon(Icons.close, color: Colors.grey[500], size: CLOSE_BUTTON_SIZE), |  |  |  |       child: Icon(Icons.close, color: Colors.grey[500], size: CLOSE_BUTTON_SIZE), | 
			
		
	
	
		
		
			
				
					|  |  | 
 |