EaseProductCard constructor

const EaseProductCard({
  1. Key? key,
  2. required ImageProvider<Object> image,
  3. required String title,
  4. required String primarytActionLabel,
  5. required String price,
  6. required int rate,
  7. VoidCallback? onSubAction,
  8. VoidCallback? onPrimaryAction,
  9. IconData icon = Icons.favorite_border,
  10. double closedHeight = 150,
  11. 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);