ChatBubble constructor
const
ChatBubble({
- Key? key,
- required String message,
- bool isSent = true,
- String? timestamp,
- MessageStatus status = MessageStatus.sent,
- String? senderName,
- Widget? avatarWidget,
- String? replyTo,
- List<
ChatReaction> reactions = const [], - VoidCallback? onReact,
- VoidCallback? onReply,
- Color? bubbleColor,
- Color? textColor,
Implementation
const ChatBubble({
super.key,
required this.message,
this.isSent = true,
this.timestamp,
this.status = MessageStatus.sent,
this.senderName,
this.avatarWidget,
this.replyTo,
this.reactions = const [],
this.onReact,
this.onReply,
this.bubbleColor,
this.textColor,
});