ItemCard constructor
const
ItemCard({
- Key? key,
- VoidCallback? onClick,
- String? title,
- String? description,
- String? amount,
- String? image,
- bool? isFavourite,
- VoidCallback? removeFavFunc,
- Color? defaultColor,
Implementation
const ItemCard({
Key? key,
this.onClick,
this.title,
this.description,
this.amount,
this.image,
this.isFavourite,
this.removeFavFunc,
this.defaultColor,
}) : super(key: key);