onTap property

VoidCallback? onTap
final

Called when the user taps this widget.

Implementation

final VoidCallback? onTap;