11/20/8
This commit is contained in:
@@ -4,6 +4,7 @@ import 'package:flutter/material.dart';
|
||||
import 'package:flutter_widget_from_html/flutter_widget_from_html.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:html/parser.dart' show parse;
|
||||
import 'package:ride/constant/api_key.dart';
|
||||
import 'package:ride/constant/box_name.dart';
|
||||
import 'package:ride/constant/colors.dart';
|
||||
import 'package:ride/constant/info.dart';
|
||||
@@ -200,24 +201,40 @@ class LoginCaptin extends StatelessWidget {
|
||||
// print(v);
|
||||
// sql.deleteAllData(TableName.faceDetectTimes);
|
||||
AC credentials = AC();
|
||||
// String apiKey = 'hamzaayedphp:malDEV@2101';
|
||||
String apiKey = AK.secretKey;
|
||||
// // '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';
|
||||
// AppCredintials credentials = AppCredintials();
|
||||
// credentials.getApiKey();
|
||||
// String? apiKeyf = '0pALdqDDYHvzp73Q59SIgbzjG7Z2zkhJXr';
|
||||
// // await storage.read(key: 'basicAuthCredentials');
|
||||
// // print(apiKeyf);
|
||||
// String convertedString = credentials.c(apiKeyf, charMap);
|
||||
// print('Converted String: $convertedString');
|
||||
credentials.gAK();
|
||||
String? apiKeyf =
|
||||
await storage.read(key: 'basicAuthCredentials');
|
||||
// print(apiKeyf);
|
||||
// String convertedString = credentials.c(apiKey, s);
|
||||
// String convertedStrings = credentials.c(apiKey, s);
|
||||
// print('Converted String s: $convertedStrings');
|
||||
// String convertedStringC =
|
||||
// credentials.c(convertedStrings, c);
|
||||
// print('Converted String C: $convertedStringC');
|
||||
// String convertedStringN = credentials.c(
|
||||
// credentials.c(credentials.c(apiKey, cs), cC), cn);
|
||||
// print('Converted String N: $convertedStringN');
|
||||
// //
|
||||
// String retrievedString =
|
||||
// credentials.r(convertedString, charMap);
|
||||
// print('Retrieved String: $retrievedString');
|
||||
// String retrievedStringN =
|
||||
// credentials.r(convertedStringN, n);
|
||||
// print('Retrieved String: $retrievedStringN');
|
||||
// String retrievedStringC =
|
||||
// credentials.r(retrievedStringN, c);
|
||||
// print('Retrieved String: $retrievedStringC');
|
||||
|
||||
// if (retrievedString == apiKeyf) {
|
||||
// String retrievedStringS = credentials.r(
|
||||
// credentials.r(
|
||||
// credentials.r(convertedStringN, cn), cC),
|
||||
// cs);
|
||||
// print('Retrieved String: $retrievedStringS');
|
||||
|
||||
// if (retrievedStringS == apiKey) {
|
||||
// print('same');
|
||||
// }
|
||||
print(AC().r(Env.chatGPTkey, charMap)); //
|
||||
// print(AK.basicAuthCredentials); //
|
||||
print(apiKeyf); //
|
||||
},
|
||||
icon: const Icon(
|
||||
Icons.close,
|
||||
|
||||
Reference in New Issue
Block a user