onTap property

VoidCallback? onTap
final

Called when the user taps

Implementation

final VoidCallback? onTap;