mirror of
https://github.com/flutter/samples.git
synced 2025-11-12 07:48:55 +00:00
Tweaked pubspecs, linted. (#113)
This commit is contained in:
committed by
Filip Hracek
parent
db963d801c
commit
3d40fa9fb2
@@ -33,12 +33,12 @@ class _ShoppingCartPageState extends State<ShoppingCartPage> {
|
||||
return model.productsInCart.keys
|
||||
.map(
|
||||
(id) => ShoppingCartRow(
|
||||
product: model.getProductById(id),
|
||||
quantity: model.productsInCart[id],
|
||||
onPressed: () {
|
||||
model.removeItemFromCart(id);
|
||||
},
|
||||
),
|
||||
product: model.getProductById(id),
|
||||
quantity: model.productsInCart[id],
|
||||
onPressed: () {
|
||||
model.removeItemFromCart(id);
|
||||
},
|
||||
),
|
||||
)
|
||||
.toList();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user