summaryrefslogtreecommitdiffstats
path: root/lib/presentation/screens/dashboard/widgets/dashboard_content.dart
diff options
context:
space:
mode:
Diffstat (limited to 'lib/presentation/screens/dashboard/widgets/dashboard_content.dart')
-rw-r--r--lib/presentation/screens/dashboard/widgets/dashboard_content.dart5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/presentation/screens/dashboard/widgets/dashboard_content.dart b/lib/presentation/screens/dashboard/widgets/dashboard_content.dart
index 1d25fdf..c4239ae 100644
--- a/lib/presentation/screens/dashboard/widgets/dashboard_content.dart
+++ b/lib/presentation/screens/dashboard/widgets/dashboard_content.dart
@@ -15,7 +15,7 @@ class DashBoardState extends ConsumerState<DashBoard>
late AnimationController _animationController;
late Animation<double> _animation;
static bool _isAnimationPlayed = false;
- Timer? timer = null;
+ Timer? timer;
@override
void initState() {
@@ -53,8 +53,9 @@ class DashBoardState extends ConsumerState<DashBoard>
@override
void dispose() {
_animationController.dispose();
- if (timer != null)
+ if (timer != null) {
timer?.cancel();
+ }
super.dispose();
}