BASE: Switch From EasyLocalization To GetX Localization.

This commit is contained in:
2025-12-04 16:56:39 +05:00
parent 157545f1c0
commit bf1d07a048
218 changed files with 2535 additions and 2313 deletions

View File

@@ -2,7 +2,7 @@ import 'dart:convert';
import 'package:customer/widget/osm_map/place_model.dart';
import 'package:flutter_map/flutter_map.dart';
import 'package:geolocator/geolocator.dart';
import 'package:get/get.dart' hide Trans;
import 'package:get/get.dart';
import 'package:http/http.dart' as http;
import '../../utils/utils.dart';
import 'package:latlong2/latlong.dart';

View File

@@ -3,11 +3,11 @@ import 'dart:developer';
import 'package:customer/themes/app_them_data.dart';
import 'package:customer/themes/round_button_fill.dart';
import 'package:customer/widget/osm_map/map_controller.dart';
import 'package:easy_localization/easy_localization.dart';
import 'package:flutter/material.dart';
import 'package:flutter_map/flutter_map.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart' hide Trans;
import 'package:get/get.dart';
import 'package:latlong2/latlong.dart';
import '../../controllers/theme_controller.dart';
@@ -28,7 +28,7 @@ class MapPickerPage extends StatelessWidget {
// centerTitle: false,
// titleSpacing: 0,
// title: Text(
// "PickUp Location".tr(),
// "PickUp Location".tr,
// textAlign: TextAlign.start,
// style: TextStyle(
// fontFamily: AppThemeData.medium,
@@ -98,7 +98,7 @@ class MapPickerPage extends StatelessWidget {
isDark ? AppThemeData.grey900 : AppThemeData.grey900,
),
decoration: InputDecoration(
hintText: 'Search location...'.tr(),
hintText: 'Search location...'.tr,
hintStyle: TextStyle(
color:
isDark
@@ -157,8 +157,8 @@ class MapPickerPage extends StatelessWidget {
children: [
Text(
controller.pickedPlace.value != null
? "Picked Location:".tr()
: "No Location Picked".tr(),
? "Picked Location:".tr
: "No Location Picked".tr,
style: AppThemeData.boldTextStyle(
color: AppThemeData.grey900,
fontSize: 17.sp,
@@ -178,7 +178,7 @@ class MapPickerPage extends StatelessWidget {
children: [
Expanded(
child: RoundedButtonFill(
title: "Confirm Location".tr(),
title: "Confirm Location".tr,
color: AppThemeData.mainColor,
textColor: AppThemeData.grey50,
borderRadius: 12,