Update: 2026-07-12 00:24:19

This commit is contained in:
Hamza-Ayed
2026-07-12 00:24:19 +03:00
parent 83f5bf516b
commit 8f4bb1631c
35 changed files with 212 additions and 160 deletions
@@ -296,6 +296,33 @@ class LocationSearchController extends GetxController {
newStartPointLocation = passengerLocation;
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.isRegistered<RideLifecycleController>()) {
final rideLifecycle = Get.find<RideLifecycleController>();
rideLifecycle.getLocationArea(