couponApply
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user