MINOR-FIX: Drop Down Issue Fix.
This commit is contained in:
@@ -19,7 +19,6 @@ import 'package:customer/themes/app_them_data.dart';
|
||||
import 'package:customer/themes/custom_dialog_box.dart';
|
||||
import 'package:customer/themes/responsive.dart';
|
||||
import 'package:customer/themes/round_button_fill.dart';
|
||||
import 'package:customer/utils/app_router.dart';
|
||||
import 'package:customer/utils/network_image_widget.dart';
|
||||
import 'package:customer/utils/preferences.dart';
|
||||
import 'package:customer/widget/osm_map/map_picker_page.dart';
|
||||
@@ -654,7 +653,9 @@ class HomeScreen extends StatelessWidget {
|
||||
children: [
|
||||
titleView(
|
||||
isDark,
|
||||
ConstTexts.largestDiscounts.tr,
|
||||
ConstTexts
|
||||
.largestDiscounts
|
||||
.tr,
|
||||
() {
|
||||
Get.to(
|
||||
const DiscountRestaurantListScreen(),
|
||||
@@ -709,7 +710,9 @@ class HomeScreen extends StatelessWidget {
|
||||
children: [
|
||||
Expanded(
|
||||
child: Text(
|
||||
ConstTexts.newArrival.tr,
|
||||
ConstTexts
|
||||
.newArrival
|
||||
.tr,
|
||||
textAlign:
|
||||
TextAlign
|
||||
.start,
|
||||
@@ -744,7 +747,9 @@ class HomeScreen extends StatelessWidget {
|
||||
});
|
||||
},
|
||||
child: Text(
|
||||
ConstTexts.viewAll.tr,
|
||||
ConstTexts
|
||||
.viewAll
|
||||
.tr,
|
||||
textAlign:
|
||||
TextAlign
|
||||
.center,
|
||||
@@ -825,7 +830,8 @@ class HomeScreen extends StatelessWidget {
|
||||
children: [
|
||||
Expanded(
|
||||
child: Text(
|
||||
ConstTexts.highlightsForU
|
||||
ConstTexts
|
||||
.highlightsForU
|
||||
.tr,
|
||||
textAlign:
|
||||
TextAlign
|
||||
@@ -855,7 +861,8 @@ class HomeScreen extends StatelessWidget {
|
||||
});
|
||||
},
|
||||
child: Text(
|
||||
ConstTexts.viewAll
|
||||
ConstTexts
|
||||
.viewAll
|
||||
.tr,
|
||||
textAlign:
|
||||
TextAlign
|
||||
@@ -971,7 +978,8 @@ class HomeScreen extends StatelessWidget {
|
||||
vertical: 10,
|
||||
),
|
||||
child: Text(
|
||||
ConstTexts.popularStores
|
||||
ConstTexts
|
||||
.popularStores
|
||||
.tr,
|
||||
textAlign:
|
||||
TextAlign
|
||||
@@ -1025,7 +1033,9 @@ class HomeScreen extends StatelessWidget {
|
||||
vertical: 10,
|
||||
),
|
||||
child: Text(
|
||||
ConstTexts.allStores.tr,
|
||||
ConstTexts
|
||||
.allStores
|
||||
.tr,
|
||||
textAlign:
|
||||
TextAlign
|
||||
.center,
|
||||
@@ -1216,9 +1226,10 @@ class HomeScreen extends StatelessWidget {
|
||||
value: controller.selectedOrderTypeValue.value.tr,
|
||||
icon: const Icon(Icons.keyboard_arrow_down),
|
||||
items:
|
||||
<String>[ConstTexts.delivery.tr, ConstTexts.takeAway.tr].map((
|
||||
String value,
|
||||
) {
|
||||
<String>[
|
||||
ConstTexts.delivery,
|
||||
ConstTexts.takeAway,
|
||||
].map((String value) {
|
||||
return DropdownMenuItem<String>(
|
||||
value: value,
|
||||
child: Text(
|
||||
@@ -1248,9 +1259,10 @@ class HomeScreen extends StatelessWidget {
|
||||
builder: (BuildContext context) {
|
||||
return CustomDialogBox(
|
||||
title: ConstTexts.alert.tr,
|
||||
descriptions:"",
|
||||
// ConstTexts.doYouWantChangeTheDeliverOption
|
||||
// .tr,
|
||||
descriptions:
|
||||
ConstTexts
|
||||
.doYouWantChangeTheDeliverOption
|
||||
.tr,
|
||||
positiveString: ConstTexts.ok.tr,
|
||||
negativeString: ConstTexts.cancel.tr,
|
||||
positiveClick: () async {
|
||||
@@ -2081,7 +2093,7 @@ class NewArrival extends StatelessWidget {
|
||||
),
|
||||
const SizedBox(width: 4),
|
||||
Text(
|
||||
ConstTexts.freeDelivery.tr,
|
||||
ConstTexts.freeDelivery.tr,
|
||||
textAlign: TextAlign.start,
|
||||
maxLines: 1,
|
||||
style: TextStyle(
|
||||
@@ -3268,7 +3280,9 @@ class MapView extends StatelessWidget {
|
||||
),
|
||||
colors: [
|
||||
Colors.black
|
||||
.withValues(alpha: 0),
|
||||
.withValues(
|
||||
alpha: 0,
|
||||
),
|
||||
const Color(
|
||||
0xFF111827,
|
||||
),
|
||||
@@ -3403,7 +3417,8 @@ class MapView extends StatelessWidget {
|
||||
width: 5,
|
||||
),
|
||||
Text(
|
||||
ConstTexts.freeDelivery
|
||||
ConstTexts
|
||||
.freeDelivery
|
||||
.tr,
|
||||
style: TextStyle(
|
||||
fontSize:
|
||||
|
||||
@@ -19,7 +19,6 @@ import 'package:customer/themes/custom_dialog_box.dart';
|
||||
import 'package:customer/themes/responsive.dart';
|
||||
import 'package:customer/themes/round_button_fill.dart';
|
||||
import 'package:customer/themes/text_field_widget.dart';
|
||||
import 'package:customer/utils/app_router.dart';
|
||||
import 'package:customer/utils/network_image_widget.dart';
|
||||
import 'package:customer/utils/preferences.dart';
|
||||
import 'package:customer/widget/osm_map/map_picker_page.dart';
|
||||
@@ -791,7 +790,7 @@ class HomeScreenTwo extends StatelessWidget {
|
||||
value: controller.selectedOrderTypeValue.value.tr,
|
||||
icon: const Icon(Icons.keyboard_arrow_down),
|
||||
items:
|
||||
<String>['Delivery'.tr, 'TakeAway'.tr].map((
|
||||
<String>[ConstTexts.delivery, ConstTexts.takeAway].map((
|
||||
String value,
|
||||
) {
|
||||
return DropdownMenuItem<String>(
|
||||
|
||||
Reference in New Issue
Block a user