onTap property

VoidCallback? onTap
final

Optional callback for when the card is tapped.

Setting this makes the card interactive.

Implementation

final VoidCallback? onTap;