RecentChatItemStyle constructor

const RecentChatItemStyle({
  1. Size profileImageSize = const Size(48, 48),
  2. TextStyle titleTextStyle = const TextStyle(fontWeight: FontWeight.w600, color: Color(0xff181818), fontSize: 16),
  3. TextStyle subtitleTextStyle = const TextStyle(fontWeight: FontWeight.normal, color: Color(0xff767676), fontSize: 14),
  4. Color spanTextColor = Colors.blue,
  5. TextStyle typingTextStyle = const TextStyle(fontWeight: FontWeight.w600, color: AppColor.primaryColor, fontSize: 14),
  6. TextStyle timeTextStyle = const TextStyle(fontWeight: FontWeight.normal, color: Color(0xff767676), fontSize: 12),
  7. Color unreadCountBgColor = const Color(0xff4879F9),
  8. TextStyle unreadCountTextStyle = const TextStyle(fontWeight: FontWeight.normal, color: Colors.white, fontSize: 8),
  9. Color dividerColor = const Color(0XffE2E2E2),
  10. Color unreadColor = const Color(0xff4879F9),
  11. Color selectedBgColor = Colors.black12,
  12. Color unselectedBgColor = Colors.transparent,
})

Implementation

const RecentChatItemStyle(
    {this.profileImageSize = const Size(48, 48),
    this.titleTextStyle = const TextStyle(
        fontWeight: FontWeight.w600, color: Color(0xff181818), fontSize: 16),
    this.subtitleTextStyle = const TextStyle(
        fontWeight: FontWeight.normal,
        color: Color(0xff767676),
        fontSize: 14),
    this.spanTextColor = Colors.blue,
    this.typingTextStyle = const TextStyle(
        fontWeight: FontWeight.w600,
        color: AppColor.primaryColor,
        fontSize: 14),
    this.timeTextStyle = const TextStyle(
        fontWeight: FontWeight.normal,
        color: Color(0xff767676),
        fontSize: 12),
    this.unreadCountBgColor = const Color(0xff4879F9),
    this.unreadCountTextStyle = const TextStyle(
      fontWeight: FontWeight.normal,
      color: Colors.white,
      fontSize: 8,
    ),
    this.dividerColor = const Color(0XffE2E2E2),
    this.unreadColor = const Color(0xff4879F9),
    this.selectedBgColor = Colors.black12,
    this.unselectedBgColor = Colors.transparent});