onTap property

void Function()? onTap
final

Callback function when the button is tapped.

Implementation

final void Function()? onTap;