mirror of
https://github.com/flutter/samples.git
synced 2025-11-10 14:58:34 +00:00
Tweaked pubspecs, linted. (#113)
This commit is contained in:
committed by
Filip Hracek
parent
db963d801c
commit
3d40fa9fb2
@@ -42,12 +42,12 @@ class ProductCard extends StatelessWidget {
|
||||
|
||||
return ScopedModelDescendant<AppStateModel>(
|
||||
builder: (context, child, model) => GestureDetector(
|
||||
onTap: () {
|
||||
model.addProductToCart(product.id);
|
||||
// TODO: Add Snackbar
|
||||
},
|
||||
child: child,
|
||||
),
|
||||
onTap: () {
|
||||
model.addProductToCart(product.id);
|
||||
// TODO: Add Snackbar
|
||||
},
|
||||
child: child,
|
||||
),
|
||||
child: Stack(
|
||||
children: <Widget>[
|
||||
Column(
|
||||
|
||||
Reference in New Issue
Block a user