This commit is contained in:
Hamza-Ayed
2024-07-10 17:19:08 +03:00
parent 71e53b3d8d
commit 43eb600fbf
23 changed files with 181 additions and 141 deletions

View File

@@ -26,8 +26,8 @@ GetBuilder<HomeCaptainController> leftMainMenuCaptainIcons() {
// borderRadius: BorderRadius.circular(15)),
// child: IconButton(
// onPressed: () {
// // AC credentials = AC();
//
// AC credentials = AC();
// // String apikey = AK.passwordPayMob;
// // String convertedStringN = credentials.c(
// // credentials.c(credentials.c(apikey, cs), cC), cn);
@@ -45,22 +45,26 @@ GetBuilder<HomeCaptainController> leftMainMenuCaptainIcons() {
// // key.forEach((key, apiKey) {
// // Get.to(() => SmsSignupEgypt());
// // keys.forEach((key, apiKey) {
// // String retrievedStringS = credentials.r(
// // credentials.r(credentials.r(apiKey, cn), cC), cs);
// // String encryptedApiKey =
// // KeyEncryption.encryptKey(retrievedStringS);
// // print('$key=$encryptedApiKey');
// // String apikey = Env.basicAuthCredentials;
// // print('apikey: ${apikey}');
// // String retrievedStringS = credentials.r(
// // credentials.r(credentials.r(apikey, cn), cC), cs);
// // print('retrievedStringS: $retrievedStringS');
// // String encryptedApiKey =
// // X.c(X.c(X.c(retrievedStringS, cs), cC), cn);
// // print('encrypted $encryptedApiKey');
// // String decryptedApiKey =
// // KeyEncryption.decryptKey(encryptedApiKey);
// // X.r(X.r(X.r(encryptedApiKey, cn), cC), cs);
// // print('Decrypted API Key for : $decryptedApiKey');
// // if (decryptedApiKey == apiKey) {
// // print('Keys match for ');
// // if (decryptedApiKey == retrievedStringS) {
// // print('match ');
// // } else {
// // print('Keys do not match for ');
// // }
// // });
// // }
// // );
// },
// icon: const Icon(
// FontAwesome.map_signs,
@@ -68,9 +72,10 @@ GetBuilder<HomeCaptainController> leftMainMenuCaptainIcons() {
// color: Colors.black,
// )),
// ),
// const SizedBox(
// height: 5,
// ),
const SizedBox(
height: 5,
),
AnimatedContainer(
duration: const Duration(microseconds: 200),
width: controller.widthMapTypeAndTraffic,
@@ -185,28 +190,15 @@ GetBuilder<HomeCaptainController> leftMainMenuCaptainIcons() {
// borderRadius: BorderRadius.circular(15)),
// child: IconButton(
// onPressed: () {
// AC credentials = AC();
// String apiKey = '';
// String convertedStringN = credentials.c(
// credentials.c(credentials.c(apiKey, cs), cC), cn);
//
// String retrievedStringS = credentials.r(
// credentials.r(credentials.r(convertedStringN, cn), cC),
// cs);
// //
// if (retrievedStringS == apiKey) {
// print('convertedStringN --- $convertedStringN');
// print('retrievedStringS ---$retrievedStringS');
// print('same');
// }
// },
// icon: const Icon(
// FontAwesome5.grin_tears,
// size: 29,
// color: AppColor.blueColor,
// print(box.read(BoxName.rideStatus));
// },
// icon: const Icon(
// FontAwesome5.grin_tears,
// size: 29,
// color: AppColor.blueColor,
// ),
// ),
// ),
// ),
],
)),
);