Closed
Description
The sample code to update home.dart does not pass category to the AsymetricView
In home.dart, add a variable for Category and pass it to the AsymmetricView.
...
@OverRide
Widget build(BuildContext context) {
// TODO: Pass Category variable to AsymmetricView (104)
return AsymmetricView(products: ProductsRepository.loadProducts(Category.all));
}
}
Should be replaced with
@OverRide
Widget build(BuildContext context) {
// TODO: Pass Category variable to AsymmetricView (104)
return AsymmetricView(products: ProductsRepository.loadProducts(category));
}
}
Metadata
Metadata
Assignees
Labels
No labels