onTap property
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;
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.
final OnTapCallBack? onTap;