onTap property

VoidCallback? onTap
final

The callback function is called when the user taps or clicks.

Implementation

final VoidCallback? onTap;