couponApply

This commit is contained in:
2025-02-10 02:37:06 +05:30
parent 630a918307
commit b6ef70cfb6
21 changed files with 3308 additions and 1181 deletions

View File

@@ -33,10 +33,8 @@ class _MyOrderScreenState extends State<MyOrderScreen> {
height: 20,
width: 20,
child: InkWell(
onTap: ()
{
context.clearAndPush(routePath: MyRoutes.BOTTOMNAV);
onTap: () {
context.clearAndPush(routePath: MyRoutes.BOTTOMNAV);
},
child: SvgPicture.asset(
APPASSETS.back,
@@ -71,7 +69,8 @@ class _MyOrderScreenState extends State<MyOrderScreen> {
final order = orderProvider.orderList[index];
return InkWell(
onTap: () {
onTap: ()
{
context.pushNamed(MyRoutes.ORDERDETAILS, extra: order);
//context.push(MyRoutes.ORDERDETAILS);
},
@@ -155,7 +154,7 @@ class _MyOrderScreenState extends State<MyOrderScreen> {
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Text("\$" + order.grandTotal,
Text("\$" + order.subtotal,
style:
TextStyle(fontWeight: FontWeight.bold)),
Row(
@@ -185,8 +184,8 @@ class _MyOrderScreenState extends State<MyOrderScreen> {
ElevatedButton(
onPressed: () {
print("lkdhgkjdfgj");
_makePhoneCall(
order.stores!.first.vendor!.phone);
// _makePhoneCall(
// order.stores!.first.vendor!.phone);
},
style: ElevatedButton.styleFrom(
backgroundColor: Colors.green,