VRoomTheme.light constructor

VRoomTheme.light()

Implementation

factory VRoomTheme.light() {
  return VRoomTheme._(
    scaffoldDecoration: const BoxDecoration(color: Color(0xffeee4e4)),
    getChatTitle: (title) {
      return Text(
        title,
        style: const TextStyle(fontWeight: FontWeight.w600, fontSize: 18),
        overflow: TextOverflow.ellipsis,
      );
    },
    getChatAvatar: ({
      required chatTitle,
      required imageUrl,
      required isOnline,
      required size,
    }) {
      return VChatAvatarImage(
        imageUrl: imageUrl,
        isOnline: isOnline,
        size: size,
        chatTitle: chatTitle,
      );
    },
    muteIcon: const Icon(Icons.notifications_off),
    selectedRoomColor: Colors.black.withOpacity(.2),
    unSeenLastMessageTextStyle: const TextStyle(
      overflow: TextOverflow.ellipsis,
      fontWeight: FontWeight.w500,
      color: Colors.black,
    ),
    seenLastMessageTextStyle:
        const TextStyle(overflow: TextOverflow.ellipsis, color: Colors.grey),
    lastMessageStatus: const VMsgStatusTheme.light(),
  );
}