onTap property

OnTapCallBack? onTap
final

onTap is the OnTapCallBack to be used for the Text widget. This can be used to handle the tap event. The callback will be called with the StringContainsElement that is detected.

Implementation

final OnTapCallBack? onTap;