ChatAvatar constructor

const ChatAvatar({
  1. Key? key,
  2. required ChatUser author,
  3. required ChatUser chatUser,
  4. required bool showUserAvatarInChat,
})

Calling the constructor

Implementation

const ChatAvatar(
    {super.key,
    required this.author,
    required this.chatUser,
    required this.showUserAvatarInChat});