ChatBubble constructor

const ChatBubble({
  1. Key? key,
  2. required ChatMessage message,
  3. required ChatTheme theme,
  4. bool showAvatar = false,
  5. bool showTimestamp = false,
  6. bool showCitations = false,
  7. Widget? avatar,
  8. String? senderName,
  9. EdgeInsetsGeometry? padding,
  10. EdgeInsetsGeometry? margin,
  11. dynamic onTap()?,
  12. dynamic onLongPress()?,
  13. bool isError = false,
})

Implementation

const ChatBubble({
  super.key,
  required this.message,
  required this.theme,
  this.showAvatar = false,
  this.showTimestamp = false,
  this.showCitations = false,
  this.avatar,
  this.senderName,
  this.padding,
  this.margin,
  this.onTap,
  this.onLongPress,
  this.isError = false,
});