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