25-1/28/1
This commit is contained in:
@@ -6,6 +6,7 @@ import 'package:google_maps_flutter/google_maps_flutter.dart';
|
||||
import '../../../constant/box_name.dart';
|
||||
import '../../../constant/colors.dart';
|
||||
import '../../../constant/table_names.dart';
|
||||
import '../../../controller/functions/encrypt_decrypt.dart';
|
||||
import '../../../controller/functions/tts.dart';
|
||||
import '../../../controller/home/map_passenger_controller.dart';
|
||||
import '../../../controller/home/vip_waitting_page.dart';
|
||||
@@ -15,13 +16,10 @@ GetBuilder<MapPassengerController> leftMainMenuIcons() {
|
||||
return GetBuilder<MapPassengerController>(
|
||||
builder: (controller) => Positioned(
|
||||
top: Get.height * .008,
|
||||
left: box.read(BoxName.lang) != 'ar' ? Get.width * .2 : null,
|
||||
right: box.read(BoxName.lang) != 'ar'
|
||||
? Get.width * .2
|
||||
: null, // Adjust left position for better spacing
|
||||
left: Get.width * .16,
|
||||
right: Get.width * .16, // Adjust left position for better spacing
|
||||
child: Row(
|
||||
mainAxisAlignment:
|
||||
MainAxisAlignment.spaceAround, // Distribute space evenly
|
||||
mainAxisAlignment: MainAxisAlignment.center, // Distribute space evenly
|
||||
children: [
|
||||
_buildIconButtonWithAnimation(
|
||||
controller: controller,
|
||||
@@ -62,11 +60,21 @@ GetBuilder<MapPassengerController> leftMainMenuIcons() {
|
||||
// const SizedBox(width: 8),
|
||||
// _buildIconButtonWithAnimation(
|
||||
// controller: controller,
|
||||
// icon: Octicons.telescope,
|
||||
// icon: Octicons.screen_full,
|
||||
// onPressed: () async {
|
||||
// final result = await sql.getCustomQuery('''
|
||||
// SELECT * FROM ${TableName.recentLocations} ORDER BY createdAt DESC
|
||||
// ''');
|
||||
// final plainText = 'Hello, Safar App!';
|
||||
// debugPrint('Plain Text: $plainText');
|
||||
|
||||
// // Encrypt the data
|
||||
// final encryptedData = encryptionHelper.encryptData(plainText);
|
||||
// debugPrint('Encrypted: $encryptedData');
|
||||
|
||||
// // Decrypt the data
|
||||
// final decryptedData = encryptionHelper
|
||||
// .decryptData(encryptedData); // Use the encryptedData variable
|
||||
// debugPrint('Decrypted: $decryptedData');
|
||||
// //kVb4a+11Scs9jQWwzeVfx0PxSDiPWDCuMI/RWYxafMU=
|
||||
// //kVb4a+11Scs9jQWwzeVfx0PxSDiPWDCuMI/RWYxafMU=
|
||||
// },
|
||||
// tooltip: 'Recent Locations', // More descriptive tooltip
|
||||
// ),
|
||||
|
||||
Reference in New Issue
Block a user