已经选中的房屋无法删除

hmxc
小赖 4 years ago
parent b4f692fd29
commit c678e66eee

@ -110,7 +110,7 @@ class _HouseCard extends StatelessWidget {
final bool highlight; final bool highlight;
const _HouseCard({Key key, @required this.model, this.highlight = false}) const _HouseCard({Key key, @required this.model, this.highlight = false})
: super(key: key); : super(key: key);
bool get canTapSlide => model.status == 4 || model.status == 3; bool get canTapSlide => model.status == 4 || model.status == 3 && !highlight;
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Slidable( return Slidable(

Loading…
Cancel
Save