6/1/1
This commit is contained in:
@@ -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),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user