mirror of
https://github.com/flutter/samples.git
synced 2025-11-10 14:58:34 +00:00
Landing beta changes in master for the new stable release (#747)
This commit is contained in:
@@ -18,7 +18,7 @@ void main() {
|
||||
ChangeNotifierProxyProvider<CatalogModel, CartModel>(
|
||||
create: (context) => CartModel(),
|
||||
update: (context, catalog, cart) {
|
||||
cart.catalog = catalog;
|
||||
cart!.catalog = catalog;
|
||||
return cart;
|
||||
},
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user