This commit is contained in:
Hamza-Ayed
2024-06-01 01:54:27 +03:00
parent 02fdf8b0f1
commit 22487e138d
18 changed files with 558 additions and 166 deletions

View File

@@ -123,12 +123,12 @@ class PassengerInfoWindow extends StatelessWidget {
controller.hours > 1
? '⌚️ ${controller.hours}h ${controller.minutes}m' // Ride Duration with emoji
: '⌚️ ${controller.minutes}m', // Short ride duration
style: AppStyle.title,
style: AppStyle.number,
),
),
),
const SizedBox(
width: 16.0), // Add spacing between sections
width: 10.0), // Add spacing between sections
Container(
decoration: AppStyle.boxDecoration1,
width: Get.width * .22,
@@ -136,7 +136,7 @@ class PassengerInfoWindow extends StatelessWidget {
padding: const EdgeInsets.all(4),
child: Text(
' ${controller.distance} km', // Distance with emoji
style: AppStyle.title,
style: AppStyle.number,
),
),
),
@@ -166,11 +166,11 @@ class PassengerInfoWindow extends StatelessWidget {
padding: const EdgeInsets.all(4),
child: Row(
children: [
Text('Total Cost is '.tr,
Text("cost is ".tr,
style: AppStyle.title),
Text(
controller.totalPassenger.toString(),
style: AppStyle.title,
style: AppStyle.number,
),
],
),
@@ -181,7 +181,7 @@ class PassengerInfoWindow extends StatelessWidget {
width: Get.width * .4,
child: Padding(
padding: const EdgeInsets.all(4),
child: Text(controller.carType,
child: Text(controller.carType.tr,
style: AppStyle.title),
),
),