getReplyTitle function
Implementation
getReplyTitle(
bool isMessageSentByMe, String senderUserName, TextStyle textStyle) {
return isMessageSentByMe
? Text(
getTranslated("you"),
style: textStyle,
// style: const TextStyle(fontWeight: FontWeight.bold),
)
: Text(
senderUserName,
style:
textStyle, /*style: const TextStyle(fontWeight: FontWeight.bold)*/
);
}