Browse Source

店铺滑动退出修改

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

26
lib/store/store_order.dart

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

Loading…
Cancel
Save