getReplyTitle function
Implementation
getReplyTitle(bool isMessageSentByMe, String senderUserName) {
return isMessageSentByMe
? Text(
AppConstants.you,
style: TextStyle(
fontWeight: FontWeight.bold,
color: MirrorflyUikit
.getTheme?.chatBubblePrimaryColor.textPrimaryColor,
),
)
: Text(senderUserName,
style: TextStyle(
fontWeight: FontWeight.bold,
color: MirrorflyUikit
.getTheme?.chatBubbleSecondaryColor.textPrimaryColor,
));
}