onTap property

VoidCallback? onTap
final

Called when the user taps the widget.

Implementation

final VoidCallback? onTap;