onTap property

VoidCallback? onTap
final

Called when the button is activated

Implementation

final VoidCallback? onTap;