buildRecentChatTime method

Visibility buildRecentChatTime(
  1. BuildContext context
)

Implementation

Visibility buildRecentChatTime(BuildContext context) {
  return Visibility(
    visible: !isCheckBoxVisible,
    child: Text(
      DateTimeUtils.getRecentChatTime(context, item.lastMessageTime),
      textAlign: TextAlign.end,
      style: returnFormattedCount(item.unreadMessageCount!) != "0"
          ? recentChatItemStyle.timeTextStyle
              .copyWith(color: recentChatItemStyle.unreadColor)
          : recentChatItemStyle.timeTextStyle
      /* TextStyle(
          fontSize: 12.0,
          fontWeight: FontWeight.w600,
          fontFamily: 'sf_ui',
          color: returnFormattedCount(item.unreadMessageCount!) != "0"
              //item.isConversationUnRead!
              ? buttonBgColor
              : textColor)*/
      ,
    ),
  );
}