onTap property

VoidCallback? onTap
final

Function that is called on card tap. If not provided, then launchUrl will be used with the provided link. To disable calling launchUrl and instead do nothing on tap, pass an empty function: () {}.

Implementation

final VoidCallback? onTap;