BASE: Switch From EasyLocalization To GetX Localization.
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import 'dart:developer';
|
||||
import 'package:customer/constant/const_texts.dart';
|
||||
import 'package:customer/models/section_model.dart';
|
||||
import 'package:easy_localization/easy_localization.dart';
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
||||
import 'package:get/get.dart' hide Trans;
|
||||
import 'package:get/get.dart';
|
||||
import '../../controllers/service_list_controller.dart';
|
||||
import '../../themes/app_them_data.dart';
|
||||
import '../../utils/network_image_widget.dart';
|
||||
@@ -68,7 +68,7 @@ class ServiceListScreen extends StatelessWidget {
|
||||
Padding(
|
||||
padding: EdgeInsets.symmetric(horizontal: 16.r),
|
||||
child: Text(
|
||||
ConstTexts.otherServices.tr(),
|
||||
ConstTexts.otherServices.tr,
|
||||
style: TextStyle(
|
||||
fontFamily: AppThemeData.bold,
|
||||
fontWeight: FontWeight.w700,
|
||||
@@ -82,23 +82,23 @@ class ServiceListScreen extends StatelessWidget {
|
||||
// Other Services Section
|
||||
_otherServicesCardMaker(
|
||||
image: "assets/images/garderob_img.png",
|
||||
title: ConstTexts.updateYourWardrobe.tr(),
|
||||
subtitle: ConstTexts.weDeliverSafely.tr(),
|
||||
title: ConstTexts.updateYourWardrobe.tr,
|
||||
subtitle: ConstTexts.weDeliverSafely.tr,
|
||||
),
|
||||
_otherServicesCardMaker(
|
||||
image: "assets/images/keys_img.png",
|
||||
title: ConstTexts.rent.tr(),
|
||||
subtitle: ConstTexts.hugeSelectionOfAds.tr(),
|
||||
title: ConstTexts.rent.tr,
|
||||
subtitle: ConstTexts.hugeSelectionOfAds.tr,
|
||||
),
|
||||
_otherServicesCardMaker(
|
||||
image: "assets/images/cosmetics_img.png",
|
||||
title: ConstTexts.cosmetics.tr(),
|
||||
subtitle: ConstTexts.moreThan1000Products.tr(),
|
||||
title: ConstTexts.cosmetics.tr,
|
||||
subtitle: ConstTexts.moreThan1000Products.tr,
|
||||
),
|
||||
_otherServicesCardMaker(
|
||||
image: "assets/images/products_img.png",
|
||||
title: ConstTexts.foodProducts.tr(),
|
||||
subtitle: ConstTexts.moreThan1000Products.tr(),
|
||||
title: ConstTexts.foodProducts.tr,
|
||||
subtitle: ConstTexts.moreThan1000Products.tr,
|
||||
),
|
||||
SizedBox(height: 45.h),
|
||||
],
|
||||
@@ -209,7 +209,7 @@ class ServiceListScreen extends StatelessWidget {
|
||||
spacing: 12.r,
|
||||
children: [
|
||||
_mainCardsMaker(
|
||||
title: ConstTexts.foodDelivery.tr(),
|
||||
title: ConstTexts.foodDelivery.tr,
|
||||
image: "assets/images/food_img.png",
|
||||
// onTap: () {
|
||||
// log("Main Card Tapped");
|
||||
@@ -227,7 +227,7 @@ class ServiceListScreen extends StatelessWidget {
|
||||
// },
|
||||
),
|
||||
_mainCardsMaker(
|
||||
title: ConstTexts.delivery.tr(),
|
||||
title: ConstTexts.delivery.tr,
|
||||
image: "assets/images/delivery_img.png",
|
||||
onTap: () {
|
||||
log("Main Card Tapped");
|
||||
@@ -276,7 +276,7 @@ class ServiceListScreen extends StatelessWidget {
|
||||
Expanded(
|
||||
child: Text(
|
||||
maxLines: 2,
|
||||
ConstTexts.bookingTaxi.tr(),
|
||||
ConstTexts.bookingTaxi.tr,
|
||||
style: TextStyle(
|
||||
overflow: TextOverflow.ellipsis,
|
||||
fontFamily: AppThemeData.bold,
|
||||
|
||||
Reference in New Issue
Block a user