5/11/5
This commit is contained in:
@@ -43,7 +43,7 @@ class SplashScreenController extends GetxController
|
||||
}
|
||||
|
||||
void startTimer() {
|
||||
Timer(const Duration(seconds: 4), () {
|
||||
Timer(const Duration(seconds: 5), () {
|
||||
box.read(BoxName.onBoarding) == null
|
||||
? Get.off(() => OnBoardingPage())
|
||||
: box.read(BoxName.email) != null
|
||||
|
||||
@@ -11,7 +11,6 @@ import 'package:get_storage/get_storage.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:wakelock_plus/wakelock_plus.dart';
|
||||
import 'constant/api_key.dart';
|
||||
import 'constant/box_name.dart';
|
||||
import 'constant/credential.dart';
|
||||
import 'constant/info.dart';
|
||||
import 'controller/firebase/firbase_messge.dart';
|
||||
|
||||
@@ -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)
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
@@ -41,12 +41,12 @@ class MapPagePassenger extends StatelessWidget {
|
||||
// PickerAnimtionContainerFormPlaces(),
|
||||
const MainBottomMenuMap(),
|
||||
// NewMainBottomSheet(),
|
||||
const MapMenuWidget(),
|
||||
|
||||
buttomSheetMapPage(),
|
||||
CarDetailsTypeToChoose(),
|
||||
const HeaderDestination(),
|
||||
const BurcMoney(),
|
||||
const ApplyOrderWidget(),
|
||||
const ApplyOrderWidget(), const MapMenuWidget(),
|
||||
// hexagonClipper(),
|
||||
const CancelRidePageShow(),
|
||||
CashConfirmPageShown(),
|
||||
|
||||
Reference in New Issue
Block a user