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

@@ -6,10 +6,10 @@ import 'package:customer/models/vendor_model.dart';
import 'package:customer/themes/app_them_data.dart';
import 'package:customer/themes/responsive.dart';
import 'package:customer/utils/network_image_widget.dart';
import 'package:easy_localization/easy_localization.dart';
import 'package:flutter/material.dart';
import 'package:flutter_svg/svg.dart';
import 'package:get/get.dart' hide Trans;
import 'package:get/get.dart';
import '../../../controllers/theme_controller.dart';
import '../../../service/fire_store_utils.dart';
import '../../../themes/show_toast_dialog.dart';
@@ -34,7 +34,7 @@ class AllAdvertisementScreen extends StatelessWidget {
centerTitle: false,
titleSpacing: 0,
title: Text(
"Highlights for you".tr(),
"Highlights for you".tr,
textAlign: TextAlign.start,
style: TextStyle(
fontFamily: AppThemeData.medium,
@@ -48,7 +48,7 @@ class AllAdvertisementScreen extends StatelessWidget {
? Constant.loader()
: controller.advertisementList.isEmpty
? Constant.showEmptyView(
message: "Highlights for you not found.".tr(),
message: "Highlights for you not found.".tr,
)
: Padding(
padding: const EdgeInsets.symmetric(horizontal: 16),
@@ -86,7 +86,7 @@ class AdvertisementCard extends StatelessWidget {
final isDark = themeController.isDark.value;
return InkWell(
onTap: () async {
ShowToastDialog.showLoader("Please wait...".tr());
ShowToastDialog.showLoader("Please wait...".tr);
VendorModel? vendorModel = await FireStoreUtils.getVendorById(
model.vendorId!,
);