BASE: Update Icons & Name Of The App.

This commit is contained in:
2025-12-04 10:23:59 +05:00
parent b04050384d
commit e602782edd
228 changed files with 34364 additions and 7905 deletions

View File

@@ -3,7 +3,7 @@ import 'package:customer/models/vendor_model.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';
import '../models/vendor_category_model.dart';
import '../service/fire_store_utils.dart';
import 'package:get/get.dart';
import 'package:get/get.dart' hide Trans;
class CategoryRestaurantController extends GetxController {
RxBool isLoading = true.obs;
@@ -33,9 +33,10 @@ class CategoryRestaurantController extends GetxController {
}
Future getRestaurant() async {
FireStoreUtils.getAllNearestRestaurantByCategoryId(categoryId: vendorCategoryModel.value.id.toString(), isDining: dineIn.value).listen((
event,
) async {
FireStoreUtils.getAllNearestRestaurantByCategoryId(
categoryId: vendorCategoryModel.value.id.toString(),
isDining: dineIn.value,
).listen((event) async {
allNearestRestaurant.clear();
allNearestRestaurant.addAll(event);
});
@@ -46,7 +47,10 @@ class CategoryRestaurantController extends GetxController {
if (value != null) {
for (int i = 0; i < value.length; i++) {
if (Constant.isPointInPolygon(
LatLng(Constant.selectedLocation.location!.latitude ?? 0.0, Constant.selectedLocation.location!.longitude ?? 0.0),
LatLng(
Constant.selectedLocation.location!.latitude ?? 0.0,
Constant.selectedLocation.location!.longitude ?? 0.0,
),
value[i].area!,
)) {
Constant.selectedZone = value[i];