This commit is contained in:
Hamza-Ayed
2024-07-17 17:35:40 +03:00
parent e6305f4ddc
commit 983fb6d0aa
16 changed files with 481 additions and 120 deletions

View File

@@ -1,5 +1,12 @@
import 'dart:convert';
import 'package:SEFER/constant/box_name.dart';
import 'package:SEFER/constant/style.dart';
import 'package:SEFER/controller/functions/face_detect.dart';
import 'package:SEFER/main.dart';
import 'package:SEFER/views/auth/captin/cards/egypt_card_a_i.dart';
import 'package:SEFER/views/widgets/elevated_btn.dart';
import 'package:SEFER/views/widgets/mydialoug.dart';
import 'package:flutter/material.dart';
import 'package:flutter_font_icons/flutter_font_icons.dart';
import 'package:get/get.dart';
@@ -31,37 +38,28 @@ GetBuilder<HomeCaptainController> leftMainMenuCaptainIcons() {
// // String apikey = AK.passwordPayMob;
// // String convertedStringN = credentials.c(
// // credentials.c(credentials.c(apikey, cs), cC), cn);
// // print(convertedStringN);
// // String retrievedStringS = credentials.r(
// // credentials.r(credentials.r(convertedStringN, cn), cC),
// // cs);
// // print(retrievedStringS);
// // //
// // if (retrievedStringS ==
// // 'apikey') {
// // print('same');
// // }
// // key.forEach((key, apiKey) {
// // Get.to(() => SmsSignupEgypt());
// // keys.forEach((key, apiKey) {
// // 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 =
// // X.r(X.r(X.r(encryptedApiKey, cn), cC), cs);
// // print('Decrypted API Key for : $decryptedApiKey');
// // if (decryptedApiKey == retrievedStringS) {
// // print('match ');
// // } else {
// // print('Keys do not match for ');
// // }
// // }
// // );
@@ -189,8 +187,8 @@ GetBuilder<HomeCaptainController> leftMainMenuCaptainIcons() {
// border: Border.all(color: AppColor.blueColor),
// borderRadius: BorderRadius.circular(15)),
// child: IconButton(
// onPressed: () {
// print(box.read(BoxName.tokenDriver));
// onPressed: () async {
// Get.to(() => EgyptCardAI());
// },
// icon: const Icon(
// FontAwesome5.grin_tears,