onPressed property

VoidCallback? onPressed
final

The primary action; null disables the card.

Implementation

final VoidCallback? onPressed;