From 5906d09cce3bd3bc841d42af99bf0c5bc6e05319 Mon Sep 17 00:00:00 2001 From: Shreya Bhatia Date: Sat, 27 Jul 2024 00:35:17 +0530 Subject: [PATCH 1/2] splash screen loading part --- lib/new_ui/screens/splash_screen/splash_screen.dart | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/lib/new_ui/screens/splash_screen/splash_screen.dart b/lib/new_ui/screens/splash_screen/splash_screen.dart index e2bbf48..ef9a3de 100644 --- a/lib/new_ui/screens/splash_screen/splash_screen.dart +++ b/lib/new_ui/screens/splash_screen/splash_screen.dart @@ -116,13 +116,14 @@ class _SplashScreenState extends ConsumerState { return MainScreen(); } } else { - return Scaffold( + return const Scaffold( body: Center( - child: SizedBox( - child: Lottie.asset("assets/animation/loadinglottie.json"), - height: 250, - width: 250, - ), + child: CircularProgressIndicator(), + // child: SizedBox( + // child: Lottie.asset("assets/animation/loadinglottie.json"), + // height: 250, + // width: 250, + // ), ), ); } From 241fcaa03c09bdc4f170d86dc0b6d3f35e9a58e2 Mon Sep 17 00:00:00 2001 From: Shreya Bhatia Date: Sat, 27 Jul 2024 00:37:24 +0530 Subject: [PATCH 2/2] splash screen loading part --- lib/new_ui/screens/splash_screen/splash_screen.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/new_ui/screens/splash_screen/splash_screen.dart b/lib/new_ui/screens/splash_screen/splash_screen.dart index ef9a3de..bd42ba2 100644 --- a/lib/new_ui/screens/splash_screen/splash_screen.dart +++ b/lib/new_ui/screens/splash_screen/splash_screen.dart @@ -119,6 +119,7 @@ class _SplashScreenState extends ConsumerState { return const Scaffold( body: Center( child: CircularProgressIndicator(), + // child: SizedBox( // child: Lottie.asset("assets/animation/loadinglottie.json"), // height: 250,