This commit is contained in:
Hamza-Ayed
2024-05-11 10:59:21 +03:00
parent d5d9ddd2cb
commit a953aabd9c
60 changed files with 9 additions and 11 deletions

View File

@@ -17,7 +17,7 @@ class SplashScreen extends StatelessWidget {
Widget build(BuildContext context) {
return Scaffold(
backgroundColor:
AppColor.primaryColor, // Set your desired background color
AppColor.secondaryColor, // Set your desired background color
body: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
@@ -29,10 +29,10 @@ class SplashScreen extends StatelessWidget {
builder: (BuildContext context, Widget? child) {
return Transform.scale(
scale:
splashScreenController.animationController.value < 0.5
splashScreenController.animationController.value < 0.2
? splashScreenController.zoomInAnimation.value
: splashScreenController.zoomOutAnimation.value,
child: Image.asset('assets/images/logo.png'),
child: Image.asset('assets/images/logo.gif'),
);
},
);
@@ -51,12 +51,12 @@ class SplashScreen extends StatelessWidget {
),
AnimatedTextKit(animatedTexts: [
TypewriterAnimatedText(
'Powered By ${AppInformation.companyName}',
'Powered By ${AppInformation.appName} LLC',
textStyle:
AppStyle.title.copyWith(color: AppColor.secondaryColor),
AppStyle.title.copyWith(color: AppColor.primaryColor),
speed: const Duration(milliseconds: 200),
),
], isRepeatingAnimation: true)
], isRepeatingAnimation: false)
],
),
),