ChatBubble constructor

const ChatBubble({
  1. Key? key,
  2. required String message,
  3. bool isSent = true,
  4. String? timestamp,
  5. MessageStatus status = MessageStatus.sent,
  6. String? senderName,
  7. Widget? avatarWidget,
  8. String? replyTo,
  9. List<ChatReaction> reactions = const [],
  10. VoidCallback? onReact,
  11. VoidCallback? onReply,
  12. Color? bubbleColor,
  13. 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,
});