|
|
|
@ -206,6 +206,7 @@ class _MarketCartPageState extends State<MarketCartPage> {
|
|
|
|
|
}
|
|
|
|
|
return _price;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int get _goodsCount => shopList.length;
|
|
|
|
|
|
|
|
|
|
List<AkuShopModel> _cartList;
|
|
|
|
@ -215,11 +216,13 @@ class _MarketCartPageState extends State<MarketCartPage> {
|
|
|
|
|
return 'end';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Widget _selectAll(CartProvidde model,) {
|
|
|
|
|
Widget _selectAll(
|
|
|
|
|
CartProvidde model,
|
|
|
|
|
) {
|
|
|
|
|
return InkWell(
|
|
|
|
|
onTap: () {
|
|
|
|
|
for (var element in _cartList) {
|
|
|
|
|
element.isCheck=!element.isCheck;
|
|
|
|
|
element.isCheck = !_selectALl;
|
|
|
|
|
}
|
|
|
|
|
model.changeALlCheckState(true);
|
|
|
|
|
setState(() {
|
|
|
|
|