onTapForSpantext function
Implementation
onTapForSpantext(String e) {
var stringType = spannableTextType(e);
debugPrint("Text span click");
if (stringType == "website") {
launchInBrowser(e);
// return;
} else if (stringType == "mobile") {
makePhoneCall(e);
// launchCaller(e);
// return;
} else if (stringType == "email") {
debugPrint("email click");
launchEmail(e);
// return;
} else {
debugPrint("no condition match");
}
// return;
}