MessageBubble constructor

const MessageBubble({
  1. Key? key,
  2. required ChatMessage message,
  3. required String currentUserId,
  4. required ChatTheme theme,
  5. VoidCallback? onLongPress,
  6. VoidCallback? onAvatarTap,
  7. void onReplyPreviewTap(
    1. String messageId
    )?,
  8. bool showAvatar = true,
  9. bool showAuthorName = true,
})

Creates a new MessageBubble.

Implementation

const MessageBubble({
  super.key,
  required this.message,
  required this.currentUserId,
  required this.theme,
  this.onLongPress,
  this.onAvatarTap,
  this.onReplyPreviewTap,
  this.showAvatar = true,
  this.showAuthorName = true,
});