Update: 2026-07-12 18:53:59

This commit is contained in:
Hamza-Ayed
2026-07-12 18:53:59 +03:00
parent 8cd4a4b57e
commit 653d73422f
54 changed files with 2078 additions and 436 deletions
@@ -297,30 +297,19 @@ class LocationSearchController extends GetxController {
newMyLocation = passengerLocation;
if (!CountryPolygons.isServiceSupported(passengerLocation)) {
Get.bottomSheet(
Container(
padding: const EdgeInsets.all(20),
decoration: const BoxDecoration(
color: Colors.white,
borderRadius: BorderRadius.vertical(top: Radius.circular(20)),
),
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
const Icon(Icons.location_off, size: 60, color: Colors.redAccent),
const SizedBox(height: 15),
Text(
'service_unavailable_area'.tr,
style: const TextStyle(fontSize: 18, fontWeight: FontWeight.bold),
textAlign: TextAlign.center,
),
const SizedBox(height: 10),
],
),
),
isDismissible: false,
enableDrag: false,
);
if (!Get.isSnackbarOpen) {
Get.snackbar(
'Alert'.tr,
'service_unavailable_area'.tr,
snackPosition: SnackPosition.BOTTOM,
backgroundColor: Colors.redAccent,
colorText: Colors.white,
icon: const Icon(Icons.location_off, color: Colors.white),
margin: const EdgeInsets.all(15),
duration: const Duration(seconds: 5),
isDismissible: true,
);
}
}
if (Get.isRegistered<RideLifecycleController>()) {