6/28/1
This commit is contained in:
@@ -37,7 +37,7 @@ class SearchingCaptainWindow extends StatelessWidget {
|
||||
),
|
||||
Text(
|
||||
"We are searching for the nearest driver to you".tr,
|
||||
style: AppStyle.headTitle2,
|
||||
style: AppStyle.title,
|
||||
),
|
||||
Text(
|
||||
'please wait till driver accept your order'.tr,
|
||||
@@ -192,18 +192,26 @@ Widget _buildTimer(MapPassengerController mapPassengerController) {
|
||||
|
||||
return Stack(
|
||||
children: [
|
||||
Center(
|
||||
child: CircularProgressIndicator(
|
||||
value: progress, // Use calculated progress
|
||||
color: AppColor.blueColor,
|
||||
backgroundColor: AppColor.yellowColor,
|
||||
SizedBox(
|
||||
height: 35,
|
||||
width: 35,
|
||||
child: Center(
|
||||
child: CircularProgressIndicator(
|
||||
value: progress, // Use calculated progress
|
||||
color: AppColor.blueColor,
|
||||
backgroundColor: AppColor.yellowColor,
|
||||
),
|
||||
),
|
||||
),
|
||||
Center(
|
||||
child: Text(
|
||||
'${snapshot.data} ', // Display elapsed time
|
||||
style: AppStyle.title.copyWith(
|
||||
color: AppColor.greenColor), // Adjust color for timer
|
||||
SizedBox(
|
||||
height: 35,
|
||||
width: 35,
|
||||
child: Center(
|
||||
child: Text(
|
||||
'${snapshot.data} ', // Display elapsed time
|
||||
style: AppStyle.title.copyWith(
|
||||
color: AppColor.greenColor), // Adjust color for timer
|
||||
),
|
||||
),
|
||||
)
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user