ItemCard constructor

const ItemCard(
  1. {Key? key,
  2. ItemCardStyle? style,
  3. String? imageUrl,
  4. String? title,
  5. String? subtitle,
  6. VoidCallback? onTap,
  7. VoidCallback? onLongPress,
  8. String? semanticLabel,
  9. String? semanticValue,
  10. String? imageHeroTag}
)

Implementation

const ItemCard(
    {super.key,
    ItemCardStyle? style,
    this.imageUrl,
    this.title,
    this.subtitle,
    this.onTap,
    this.onLongPress,
    this.semanticLabel,
    this.semanticValue,
    this.imageHeroTag})
    : style = style ?? const ItemCardStyle();