This commit is contained in:
Hamza-Ayed
2024-03-22 00:03:46 +03:00
parent 045f7e20f0
commit 5c702e7d06
8 changed files with 71 additions and 84 deletions

View File

@@ -27,35 +27,35 @@ class RatePassenger extends StatelessWidget {
decoration: AppStyle.boxDecoration,
child: Column(
children: [
Padding(
padding: const EdgeInsets.all(4),
child: Container(
height: Get.height * .25,
decoration: AppStyle.boxDecoration1,
child: Column(
children: [
Text(
'${'Total price from '.tr}${Get.find<MapDriverController>().passengerName}',
style: AppStyle.title,
),
Container(
decoration: BoxDecoration(
border: Border.all(
width: 2,
color: AppColor.greenColor,
)),
child: Padding(
padding: const EdgeInsets.all(4),
child: Text(
Get.find<MapDriverController>()
.totalPassenger,
style: AppStyle.number,
),
),
),
],
)),
),
// Padding(
// padding: const EdgeInsets.all(4),
// child: Container(
// height: Get.height * .25,
// decoration: AppStyle.boxDecoration1,
// child: Column(
// children: [
// Text(
// '${'Total price from '.tr}${Get.find<MapDriverController>().passengerName}',
// style: AppStyle.title,
// ),
// Container(
// decoration: BoxDecoration(
// border: Border.all(
// width: 2,
// color: AppColor.greenColor,
// )),
// child: Padding(
// padding: const EdgeInsets.all(4),
// child: Text(
// Get.find<MapDriverController>()
// .totalPassenger,
// style: AppStyle.number,
// ),
// ),
// ),
// ],
// )),
// ),
Center(
child: RatingBar.builder(
initialRating: 0,