Initial commit for Tripz Service
This commit is contained in:
@@ -40,8 +40,7 @@ class AddCar extends StatelessWidget {
|
|||||||
},
|
},
|
||||||
child: Container(
|
child: Container(
|
||||||
decoration: AppStyle.boxDecoration1,
|
decoration: AppStyle.boxDecoration1,
|
||||||
child: Text(EncryptionHelper.instance
|
child: Text((carData['name_arabic']))),
|
||||||
.decryptData(carData['name_arabic']))),
|
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}),
|
}),
|
||||||
|
|||||||
@@ -27,11 +27,10 @@ class DriverTheBestAlexandria extends StatelessWidget {
|
|||||||
.toStringAsFixed(0),
|
.toStringAsFixed(0),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
title: Text(EncryptionHelper.instance
|
title: Text((driver['name_arabic']) ??
|
||||||
.decryptData(driver['name_arabic']) ??
|
|
||||||
'Unknown Name'),
|
'Unknown Name'),
|
||||||
subtitle: Text(
|
subtitle: Text(
|
||||||
'Phone: ${EncryptionHelper.instance.decryptData(driver['phone']) ?? 'N/A'}'),
|
'Phone: ${(driver['phone']) ?? 'N/A'}'),
|
||||||
trailing: IconButton(
|
trailing: IconButton(
|
||||||
onPressed: () async {
|
onPressed: () async {
|
||||||
Get.defaultDialog(
|
Get.defaultDialog(
|
||||||
|
|||||||
@@ -53,11 +53,10 @@ class DriverTheBest extends StatelessWidget {
|
|||||||
.toStringAsFixed(0),
|
.toStringAsFixed(0),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
title: Text(EncryptionHelper.instance
|
title: Text((driver['name_arabic']) ??
|
||||||
.decryptData(driver['name_arabic']) ??
|
|
||||||
'Unknown Name'),
|
'Unknown Name'),
|
||||||
subtitle: Text(
|
subtitle: Text(
|
||||||
'Phone: ${EncryptionHelper.instance.decryptData(driver['phone']) ?? 'N/A'}'),
|
'Phone: ${(driver['phone']) ?? 'N/A'}'),
|
||||||
trailing: IconButton(
|
trailing: IconButton(
|
||||||
onPressed: () async {
|
onPressed: () async {
|
||||||
// Get.defaultDialog(
|
// Get.defaultDialog(
|
||||||
|
|||||||
@@ -57,8 +57,7 @@ class DriversCantRegister extends StatelessWidget {
|
|||||||
mainAxisAlignment:
|
mainAxisAlignment:
|
||||||
MainAxisAlignment.spaceAround,
|
MainAxisAlignment.spaceAround,
|
||||||
children: [
|
children: [
|
||||||
Text(EncryptionHelper.instance
|
Text((driver['phone_number'])),
|
||||||
.decryptData(driver['phone_number'])),
|
|
||||||
IconButton(
|
IconButton(
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
String message = "مرحباً،\n\n"
|
String message = "مرحباً،\n\n"
|
||||||
|
|||||||
@@ -36,8 +36,7 @@ class EditCarPlate extends StatelessWidget {
|
|||||||
},
|
},
|
||||||
child: Container(
|
child: Container(
|
||||||
decoration: AppStyle.boxDecoration1,
|
decoration: AppStyle.boxDecoration1,
|
||||||
child: Text(EncryptionHelper.instance
|
child: Text((carData['owner']))),
|
||||||
.decryptData(carData['owner']))),
|
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}),
|
}),
|
||||||
|
|||||||
@@ -27,11 +27,10 @@ class DriverTheBestGiza extends StatelessWidget {
|
|||||||
.toStringAsFixed(0),
|
.toStringAsFixed(0),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
title: Text(EncryptionHelper.instance
|
title: Text((driver['name_arabic']) ??
|
||||||
.decryptData(driver['name_arabic']) ??
|
|
||||||
'Unknown Name'),
|
'Unknown Name'),
|
||||||
subtitle: Text(
|
subtitle: Text(
|
||||||
'Phone: ${EncryptionHelper.instance.decryptData(driver['phone']) ?? 'N/A'}'),
|
'Phone: ${(driver['phone']) ?? 'N/A'}'),
|
||||||
trailing: IconButton(
|
trailing: IconButton(
|
||||||
onPressed: () async {
|
onPressed: () async {
|
||||||
Get.defaultDialog(
|
Get.defaultDialog(
|
||||||
|
|||||||
@@ -33,8 +33,7 @@ class PassengersCantRegister extends StatelessWidget {
|
|||||||
child: CupertinoFormRow(
|
child: CupertinoFormRow(
|
||||||
prefix: Text('Phone Number'.tr),
|
prefix: Text('Phone Number'.tr),
|
||||||
child: CupertinoTextFormFieldRow(
|
child: CupertinoTextFormFieldRow(
|
||||||
initialValue: EncryptionHelper.instance
|
initialValue: ((passenger['phone_number'])),
|
||||||
.decryptData((passenger['phone_number'])),
|
|
||||||
readOnly: true,
|
readOnly: true,
|
||||||
placeholder: 'Phone Number'.tr,
|
placeholder: 'Phone Number'.tr,
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user