onTap property

VoidCallback? onTap
final

If this and onLongPress are null, the button will be disabled.

Implementation

final VoidCallback? onTap;