7/10/1
This commit is contained in:
@@ -72,7 +72,7 @@ class EgyptCardAI extends StatelessWidget {
|
||||
// controller.responseCriminalRecordEgypt
|
||||
// .isNotEmpty
|
||||
)
|
||||
? Get.height * .5
|
||||
? Get.height * .7
|
||||
: Get.height * .85,
|
||||
child: ListView(
|
||||
children: [
|
||||
@@ -1114,7 +1114,7 @@ Please fill in the JSON object with the extracted information, following these g
|
||||
|
||||
class VideoButton extends StatelessWidget {
|
||||
final String videoUrl =
|
||||
"https://www.youtube.com/watch?v=dQw4w9WgXcQ"; // Replace with your video URL
|
||||
"https://youtube.com/shorts/fC0RmYH5B_0?feature=share"; // Replace with your video URL
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
|
||||
@@ -259,7 +259,7 @@ class HomeCaptain extends StatelessWidget {
|
||||
Get.to(() => PassengerLocationMapPage(),
|
||||
arguments: box.read(BoxName.rideArguments)),
|
||||
Get.find<MapDriverController>()
|
||||
.driverGoToPassenger()
|
||||
.changeRideToBeginToPassenger()
|
||||
}
|
||||
: {
|
||||
Get.to(() => PassengerLocationMapPage(),
|
||||
|
||||
@@ -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,
|
||||
// ),
|
||||
// ),
|
||||
// ),
|
||||
// ),
|
||||
],
|
||||
)),
|
||||
);
|
||||
|
||||
@@ -3,17 +3,16 @@ import 'package:flutter/material.dart';
|
||||
import 'package:flutter/widgets.dart';
|
||||
import 'package:flutter_font_icons/flutter_font_icons.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:SEFER/constant/box_name.dart';
|
||||
import 'package:SEFER/constant/colors.dart';
|
||||
import 'package:SEFER/constant/info.dart';
|
||||
import 'package:SEFER/controller/firebase/firbase_messge.dart';
|
||||
import 'package:SEFER/controller/home/captin/map_driver_controller.dart';
|
||||
import 'package:SEFER/main.dart';
|
||||
import 'package:SEFER/views/widgets/elevated_btn.dart';
|
||||
|
||||
import '../../../../constant/box_name.dart';
|
||||
import '../../../../constant/style.dart';
|
||||
import '../../../../controller/functions/launch.dart';
|
||||
import '../home_captain/widget/call_page.dart';
|
||||
import '../../../../main.dart';
|
||||
|
||||
class PassengerInfoWindow extends StatelessWidget {
|
||||
const PassengerInfoWindow({
|
||||
@@ -58,6 +57,13 @@ class PassengerInfoWindow extends StatelessWidget {
|
||||
mainAxisAlignment:
|
||||
MainAxisAlignment.spaceAround,
|
||||
children: [
|
||||
IconButton(
|
||||
onPressed: () {
|
||||
print(box
|
||||
.read(BoxName.rideStatus));
|
||||
},
|
||||
icon: const Icon(Icons.add),
|
||||
),
|
||||
GestureDetector(
|
||||
onTap: () async {
|
||||
controller.isSocialPressed =
|
||||
|
||||
Reference in New Issue
Block a user