Browse Source

店铺滑动退出修改

ff_new
w-R 3 years ago
parent
commit
6f08050e3b
  1. 28
      lib/store/store_order.dart

28
lib/store/store_order.dart

@ -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>
),
],
),
),
);
);
// );
}
///

Loading…
Cancel
Save