BASE: Switch From EasyLocalization To GetX Localization.
This commit is contained in:
@@ -5,12 +5,13 @@ import 'package:customer/controllers/theme_controller.dart';
|
||||
import 'package:customer/models/banner_model.dart';
|
||||
import 'package:customer/screen_ui/auth_screens/login_screen.dart';
|
||||
import 'package:customer/themes/app_them_data.dart';
|
||||
import 'package:customer/utils/app_router.dart';
|
||||
import 'package:customer/utils/network_image_widget.dart';
|
||||
import 'package:easy_localization/easy_localization.dart';
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_hooks/flutter_hooks.dart';
|
||||
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
||||
import 'package:get/get.dart' hide Trans;
|
||||
import 'package:get/get.dart';
|
||||
import 'Intercity_home_screen.dart';
|
||||
import 'cab_booking_screen.dart';
|
||||
|
||||
@@ -52,7 +53,7 @@ class CabHomeScreen extends HookWidget {
|
||||
Get.offAll(const LoginScreen());
|
||||
},
|
||||
child: Text(
|
||||
ConstTexts.login.tr(),
|
||||
ConstTexts.login.tr,
|
||||
textAlign: TextAlign.center,
|
||||
style: AppThemeData.boldTextStyle(
|
||||
color: AppThemeData.grey900,
|
||||
@@ -99,7 +100,7 @@ class CabHomeScreen extends HookWidget {
|
||||
children: [
|
||||
SizedBox(height: 20),
|
||||
Text(
|
||||
ConstTexts.cabServiceType.tr(),
|
||||
ConstTexts.cabServiceType.tr,
|
||||
style: AppThemeData.boldTextStyle(
|
||||
color:
|
||||
isDark
|
||||
@@ -123,7 +124,7 @@ class CabHomeScreen extends HookWidget {
|
||||
CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text(
|
||||
ConstTexts.everyRideVerified.tr(),
|
||||
ConstTexts.everyRideVerified.tr,
|
||||
style: AppThemeData.boldTextStyle(
|
||||
color:
|
||||
isDark
|
||||
@@ -133,7 +134,7 @@ class CabHomeScreen extends HookWidget {
|
||||
),
|
||||
),
|
||||
Text(
|
||||
ConstTexts.allDriversIDCheck.tr(),
|
||||
ConstTexts.allDriversIDCheck.tr,
|
||||
style: AppThemeData.mediumTextStyle(
|
||||
color:
|
||||
isDark
|
||||
@@ -171,7 +172,7 @@ class CabHomeScreen extends HookWidget {
|
||||
Constant.sectionConstantModel!.rideType == "both" ||
|
||||
Constant.sectionConstantModel!.rideType == "ride"
|
||||
? _cabOptionMaker(
|
||||
title: ConstTexts.aroundTheCity.tr(),
|
||||
title: ConstTexts.aroundTheCity.tr,
|
||||
isMain: false,
|
||||
image: "assets/images/taxi_option.png",
|
||||
useGradient: false,
|
||||
@@ -182,7 +183,7 @@ class CabHomeScreen extends HookWidget {
|
||||
)
|
||||
: Expanded(child: SizedBox()),
|
||||
_cabOptionMaker(
|
||||
title: ConstTexts.intercity.tr(),
|
||||
title: ConstTexts.intercity.tr,
|
||||
isMain: false,
|
||||
useGradient: false,
|
||||
image: "assets/images/outer_city_taxi_option.png",
|
||||
|
||||
Reference in New Issue
Block a user