BASE: Switch From EasyLocalization To GetX Localization.
This commit is contained in:
@@ -5,12 +5,12 @@ import 'package:customer/models/vendor_model.dart';
|
||||
import 'package:customer/themes/app_them_data.dart';
|
||||
import 'package:customer/themes/responsive.dart';
|
||||
import 'package:customer/themes/text_field_widget.dart';
|
||||
import 'package:easy_localization/easy_localization.dart';
|
||||
|
||||
import '../../../controllers/theme_controller.dart';
|
||||
import 'package:customer/utils/network_image_widget.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_svg/flutter_svg.dart';
|
||||
import 'package:get/get.dart' hide Trans;
|
||||
import 'package:get/get.dart';
|
||||
import '../../../service/fire_store_utils.dart';
|
||||
import '../../../widget/restaurant_image_view.dart';
|
||||
import '../restaurant_details_screen/restaurant_details_screen.dart';
|
||||
@@ -37,7 +37,7 @@ class SearchScreen extends StatelessWidget {
|
||||
) ==
|
||||
true
|
||||
? "Find your favorite products and nearby stores"
|
||||
: "Search Item & Store".tr(),
|
||||
: "Search Item & Store".tr,
|
||||
textAlign: TextAlign.start,
|
||||
style: TextStyle(
|
||||
fontFamily: AppThemeData.medium,
|
||||
@@ -55,8 +55,8 @@ class SearchScreen extends StatelessWidget {
|
||||
?.toLowerCase()
|
||||
.contains('restaurants') ==
|
||||
true
|
||||
? 'Find your favorite products and nearby stores'.tr()
|
||||
: 'Search the store and item'.tr(),
|
||||
? 'Find your favorite products and nearby stores'.tr
|
||||
: 'Search the store and item'.tr,
|
||||
prefix: Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 16),
|
||||
child: SvgPicture.asset("assets/icons/ic_search.svg"),
|
||||
@@ -87,7 +87,7 @@ class SearchScreen extends StatelessWidget {
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text(
|
||||
"Store".tr(),
|
||||
"Store".tr,
|
||||
textAlign: TextAlign.start,
|
||||
style: TextStyle(
|
||||
fontFamily: AppThemeData.semiBold,
|
||||
@@ -230,7 +230,7 @@ class SearchScreen extends StatelessWidget {
|
||||
),
|
||||
Text(
|
||||
"Free Delivery"
|
||||
.tr(),
|
||||
.tr,
|
||||
style: TextStyle(
|
||||
fontSize: 14,
|
||||
color:
|
||||
@@ -427,7 +427,7 @@ class SearchScreen extends StatelessWidget {
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text(
|
||||
"Items".tr(),
|
||||
"Items".tr,
|
||||
textAlign: TextAlign.start,
|
||||
style: TextStyle(
|
||||
fontFamily: AppThemeData.semiBold,
|
||||
@@ -526,9 +526,9 @@ class SearchScreen extends StatelessWidget {
|
||||
productModel.nonveg ==
|
||||
true
|
||||
? "Non Veg."
|
||||
.tr()
|
||||
.tr
|
||||
: "Pure veg."
|
||||
.tr(),
|
||||
.tr,
|
||||
style: TextStyle(
|
||||
color:
|
||||
productModel.nonveg ==
|
||||
|
||||
Reference in New Issue
Block a user