MessageBubble constructor
const
MessageBubble({
- Key? key,
- required ChatMessage message,
- required String currentUserId,
- required ChatTheme theme,
- VoidCallback? onLongPress,
- VoidCallback? onAvatarTap,
- void onReplyPreviewTap(
- String messageId
- bool showAvatar = true,
- 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,
});