onTap property

VoidCallback onTap
final

Called when the action is tapped.

Implementation

final VoidCallback onTap;