onTap property

VoidCallback? onTap
final

Callback function triggered when the user taps on the text.

If null, no interaction is enabled.

Implementation

final VoidCallback? onTap;