修复全选bug,版本更新

hmxc
张萌 4 years ago
parent 68dc58901f
commit 8777517b13

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

@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at # Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.0.7+8 version: 1.0.8+9
environment: environment:
sdk: ">=2.7.0 <3.0.0" sdk: ">=2.7.0 <3.0.0"

Loading…
Cancel
Save