If not null, the function will be invoked on the tap of the card.
final Function(CardModel)? onCardTap;