buildRecentChatTime method

Visibility buildRecentChatTime(
  1. BuildContext context
)

Implementation

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