ListCartItems constructor
const
ListCartItems({
- Key? key,
- required Widget cartTileWidget({
- required PersistentShoppingCartItem data,
- required Widget showEmptyCartMsgWidget,
Creates a ListCartItems instance.
The cartTileWidget
is a builder function for each cart item, and showEmptyCartMsgWidget
is displayed when the cart is empty.
Implementation
const ListCartItems({
Key? key,
required this.cartTileWidget,
required this.showEmptyCartMsgWidget,
}) : super(key: key);