onTap property

VoidCallback? onTap
final

A function called whenever the user taps on the card.

If onTap is not null, it's highly recommended to use onTapHint as well for accessibility purposes.

Implementation

final VoidCallback? onTap;