Version propre - Dashboard enhanced

This commit is contained in:
DahoudG
2025-09-13 19:05:06 +00:00
parent 3df010add7
commit 73459b3092
70 changed files with 15317 additions and 1498 deletions

View File

@@ -88,19 +88,19 @@ class _SplashScreenState extends State<SplashScreen>
),
);
// Séquence d'animations
// Séquence d'animations avec vérification mounted
await Future.delayed(const Duration(milliseconds: 300));
_logoController.forward();
if (mounted) _logoController.forward();
await Future.delayed(const Duration(milliseconds: 500));
_textController.forward();
if (mounted) _textController.forward();
await Future.delayed(const Duration(milliseconds: 300));
_progressController.forward();
if (mounted) _progressController.forward();
// Attendre la fin de toutes les animations + temps de chargement
await Future.delayed(const Duration(milliseconds: 2000));
// Le splash screen sera remplacé automatiquement par l'AppWrapper
// basé sur l'état d'authentification
}