onTap property

VoidCallback? onTap
final

The function that is executed when the action is tapped.

Implementation

final VoidCallback? onTap;