onTap property

VoidCallback? onTap
final

A function called whenever a user taps on this component.

Implementation

final VoidCallback? onTap;