|
...
|
...
|
@@ -2647,11 +2647,33 @@ class _FeastCreatePageState extends State<FeastCreatePage> { |
|
|
|
)),
|
|
|
|
HEmptyView(32),
|
|
|
|
InkWell(
|
|
|
|
onTap: () {
|
|
|
|
FocusScope.of(context)
|
|
|
|
.requestFocus(
|
|
|
|
FocusNode()); //点击空白处隐藏键盘
|
|
|
|
//弹框确认是否删除
|
|
|
|
DialogUtil
|
|
|
|
.cupertinoAlertDialog(
|
|
|
|
context,
|
|
|
|
title: "",
|
|
|
|
content: "是否确定删除?",
|
|
|
|
isBoldContent: true,
|
|
|
|
contentColor: MyColours
|
|
|
|
.color_E6000000,
|
|
|
|
rTitle: "删除",
|
|
|
|
rCallback: () {
|
|
|
|
xuantaiData[
|
|
|
|
xuantaiSelIndex]
|
|
|
|
.setmeal
|
|
|
|
.removeAt(index);
|
|
|
|
setState(() {});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
child: Image.asset(
|
|
|
|
Utils.getImgPath(
|
|
|
|
'f_delete_red'),
|
|
|
|
width: w(20),
|
|
|
|
))
|
|
|
|
Utils.getImgPath(
|
|
|
|
'f_delete_red'),
|
|
|
|
width: w(20),
|
|
|
|
))
|
|
|
|
],
|
|
|
|
),
|
|
|
|
VEmptyView(32),
|
...
|
...
|
|