diff --git a/lib/src/showcase.dart b/lib/src/showcase.dart index cab1017d..b1b00cfd 100644 --- a/lib/src/showcase.dart +++ b/lib/src/showcase.dart @@ -510,6 +510,7 @@ class _ShowcaseState extends State { /// Reverse animates the provided tooltip or /// the custom container widget. Future _reverseAnimateTooltip() async { + if (!mounted) return; setState(() => _isTooltipDismissed = true); await Future.delayed(widget.scaleAnimationDuration); _isTooltipDismissed = false;