onTap property

VoidCallback? onTap
final

Function called whenever the user taps anywhere on the button

Implementation

final VoidCallback? onTap;