7/20/1
This commit is contained in:
@@ -5,12 +5,15 @@ import 'package:SEFER/views/widgets/my_circular_indicator_timer.dart';
|
||||
import 'package:SEFER/views/widgets/my_textField.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:secure_string_operations/secure_string_operations.dart';
|
||||
import 'package:url_launcher/url_launcher.dart';
|
||||
import '../../../../constant/char_map.dart';
|
||||
import '../../../../constant/colors.dart';
|
||||
import '../../../../constant/links.dart';
|
||||
import '../../../../constant/style.dart';
|
||||
import '../../../../controller/functions/package_info.dart';
|
||||
import '../../../../controller/functions/upload_image.dart';
|
||||
import '../../../../print.dart';
|
||||
import '../../../widgets/my_scafold.dart';
|
||||
|
||||
class EgyptCardAI extends StatelessWidget {
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import 'package:SEFER/constant/box_name.dart';
|
||||
import 'package:SEFER/main.dart';
|
||||
import 'package:SEFER/views/auth/captin/cards/egypt_card_a_i.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_font_icons/flutter_font_icons.dart';
|
||||
import 'package:get/get.dart';
|
||||
@@ -27,30 +26,18 @@ GetBuilder<HomeCaptainController> leftMainMenuCaptainIcons() {
|
||||
// borderRadius: BorderRadius.circular(15)),
|
||||
// child: IconButton(
|
||||
// onPressed: () {
|
||||
// AC credentials = AC();
|
||||
|
||||
// // String apikey = AK.passwordPayMob;
|
||||
// // 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') {
|
||||
// // }
|
||||
|
||||
// // key.forEach((key, apiKey) {
|
||||
// // Get.to(() => SmsSignupEgypt());
|
||||
// // keys.forEach((key, apiKey) {
|
||||
// // String apikey = Env.basicAuthCredentials;
|
||||
// // String retrievedStringS = credentials.r(
|
||||
// // credentials.r(credentials.r(apikey, cn), cC), cs);
|
||||
// // String encryptedApiKey =
|
||||
// // X.c(X.c(X.c(retrievedStringS, cs), cC), cn);
|
||||
// String apikey = AK.secretKeyStripe;
|
||||
// Log.print('apikey: ${apikey}');
|
||||
|
||||
// // String decryptedApiKey =
|
||||
// // X.r(X.r(X.r(encryptedApiKey, cn), cC), cs);
|
||||
// String encryptedApiKey = X.c(X.c(X.c(apikey, cs), cC), cn);
|
||||
// Log.print('encryptedApiKey: ${encryptedApiKey}');
|
||||
|
||||
// String decryptedApiKey =
|
||||
// X.r(X.r(X.r(encryptedApiKey, cn), cC), cs);
|
||||
// Log.print('decryptedApiKey: ${decryptedApiKey}');
|
||||
|
||||
// // if (decryptedApiKey == retrievedStringS) {
|
||||
// // } else {
|
||||
@@ -65,9 +52,9 @@ GetBuilder<HomeCaptainController> leftMainMenuCaptainIcons() {
|
||||
// )),
|
||||
// ),
|
||||
|
||||
const SizedBox(
|
||||
height: 5,
|
||||
),
|
||||
// const SizedBox(
|
||||
// height: 5,
|
||||
// ),
|
||||
AnimatedContainer(
|
||||
duration: const Duration(microseconds: 200),
|
||||
width: controller.widthMapTypeAndTraffic,
|
||||
@@ -173,24 +160,24 @@ GetBuilder<HomeCaptainController> leftMainMenuCaptainIcons() {
|
||||
),
|
||||
),
|
||||
),
|
||||
AnimatedContainer(
|
||||
duration: const Duration(microseconds: 200),
|
||||
width: controller.widthMapTypeAndTraffic,
|
||||
decoration: BoxDecoration(
|
||||
color: AppColor.secondaryColor,
|
||||
border: Border.all(color: AppColor.blueColor),
|
||||
borderRadius: BorderRadius.circular(15)),
|
||||
child: IconButton(
|
||||
onPressed: () async {
|
||||
Get.to(() => EgyptCardAI());
|
||||
},
|
||||
icon: const Icon(
|
||||
FontAwesome5.grin_tears,
|
||||
size: 29,
|
||||
color: AppColor.blueColor,
|
||||
),
|
||||
),
|
||||
),
|
||||
// AnimatedContainer(
|
||||
// duration: const Duration(microseconds: 200),
|
||||
// width: controller.widthMapTypeAndTraffic,
|
||||
// decoration: BoxDecoration(
|
||||
// color: AppColor.secondaryColor,
|
||||
// border: Border.all(color: AppColor.blueColor),
|
||||
// borderRadius: BorderRadius.circular(15)),
|
||||
// child: IconButton(
|
||||
// onPressed: () async {
|
||||
// Get.to(() => EgyptCardAI());
|
||||
// },
|
||||
// icon: const Icon(
|
||||
// FontAwesome5.grin_tears,
|
||||
// size: 29,
|
||||
// color: AppColor.blueColor,
|
||||
// ),
|
||||
// ),
|
||||
// ),
|
||||
],
|
||||
)),
|
||||
);
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import 'package:SEFER/print.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:get/get.dart';
|
||||
|
||||
@@ -37,7 +38,7 @@ class CardSeferWalletDriver extends StatelessWidget {
|
||||
// BoxName.lastTimeCaptainWalletCashOut, lastRequestTime);
|
||||
// box.write(BoxName.cvvCode, 1111);
|
||||
if (double.parse(
|
||||
Get.find<CaptainWalletController>().totalAmountVisa) >
|
||||
Get.find<CaptainWalletController>().totalAmountVisa) >=
|
||||
20) {
|
||||
Get.defaultDialog(
|
||||
barrierDismissible: false,
|
||||
@@ -95,7 +96,7 @@ class CardSeferWalletDriver extends StatelessWidget {
|
||||
if (captainWalletController.formKey.currentState!
|
||||
.validate()) {
|
||||
if (double.parse(Get.find<CaptainWalletController>()
|
||||
.totalAmountVisa) >
|
||||
.totalAmountVisa) >=
|
||||
20) {
|
||||
Get.back();
|
||||
String amountAfter5LE = (double.parse(
|
||||
|
||||
Reference in New Issue
Block a user