onTap property

VoidCallback? onTap
final

Callback fired when the card is tapped.

If null, the card will not be interactive.

Implementation

final VoidCallback? onTap;