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,

View File

@@ -18,7 +18,7 @@ GetBuilder<MapDriverController> driverEndRideBar() {
height: mapDriverController.remainingTimeTimerRideBegin < 60
? mapDriverController.driverEndPage = 160
: 100,
width: 200,
width: 240,
child: Column(
children: [
Row(
@@ -53,6 +53,14 @@ GetBuilder<MapDriverController> driverEndRideBar() {
),
],
),
Row(
children: [
Text(mapDriverController.recentAngelToMarker
.toStringAsFixed(0)),
Text(mapDriverController.recentDistanceToDash
.toStringAsFixed(0))
],
),
mapDriverController.remainingTimeTimerRideBegin < 60
? Row(
mainAxisAlignment: MainAxisAlignment.center,

View File

@@ -320,15 +320,15 @@ class CountryPicker extends StatelessWidget {
@override
Widget build(BuildContext context) {
return GetBuilder<ProfileController>(builder: (controller) {
return Column(
return ListView(
children: [
const SizedBox(
height: 20,
),
Text("Select Your Country".tr),
const SizedBox(
height: 20,
),
// const SizedBox(
// height: 20,
// ),
Padding(
padding: const EdgeInsets.all(10),
child: Text(
@@ -336,7 +336,7 @@ class CountryPicker extends StatelessWidget {
.tr),
),
SizedBox(
height: 300,
height: 200,
child: CupertinoPicker(
itemExtent: 32,
onSelectedItemChanged: (int index) {