onTap property

VoidCallback? onTap
final

The callback that is called when the button is tapped or otherwise activated.

Implementation

final VoidCallback? onTap;