EaseProductCard constructor
const
EaseProductCard({
- Key? key,
- required ImageProvider<
Object> image, - required String title,
- required String primarytActionLabel,
- required String price,
- required int rate,
- VoidCallback? onSubAction,
- VoidCallback? onPrimaryAction,
- IconData icon = Icons.favorite_border,
- double closedHeight = 150,
- double openedHeight = 300,
Implementation
const EaseProductCard(
{Key? key,
required this.image,
required this.title,
required this.primarytActionLabel,
required this.price,
required this.rate,
this.onSubAction,
this.onPrimaryAction,
this.icon = Icons.favorite_border,
this.closedHeight = 150,
this.openedHeight = 300})
: super(key: key);