|
|
|
@ -202,17 +202,19 @@ class _StoreOrderPage extends State<StoreOrderPage>
|
|
|
|
|
|
|
|
|
|
@override |
|
|
|
|
Widget build(BuildContext context) { |
|
|
|
|
return WillPopScope( |
|
|
|
|
onWillPop: () async { |
|
|
|
|
if (dialogShowing) { |
|
|
|
|
debugPrint("ssssasdadsasdadasd"); |
|
|
|
|
SmartDialog.dismiss(); |
|
|
|
|
return false; |
|
|
|
|
} else { |
|
|
|
|
return true; |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
child: Container( |
|
|
|
|
return |
|
|
|
|
// WillPopScope( |
|
|
|
|
// onWillPop: () async { |
|
|
|
|
// if (dialogShowing) { |
|
|
|
|
// debugPrint("ssssasdadsasdadasd"); |
|
|
|
|
// SmartDialog.dismiss(); |
|
|
|
|
// return false; |
|
|
|
|
// } else { |
|
|
|
|
// return true; |
|
|
|
|
// } |
|
|
|
|
// }, |
|
|
|
|
// child: |
|
|
|
|
Container( |
|
|
|
|
color: Colors.white, |
|
|
|
|
child: Stack( |
|
|
|
|
children: [ |
|
|
|
@ -484,8 +486,8 @@ class _StoreOrderPage extends State<StoreOrderPage>
|
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
); |
|
|
|
|
); |
|
|
|
|
// ); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
///领取优惠券 |
|
|
|
|