ChatBubble constructor
const
ChatBubble({
- Key? key,
- required ChatMessage message,
- required ChatTheme theme,
- bool showAvatar = false,
- bool showTimestamp = false,
- bool showCitations = false,
- Widget? avatar,
- String? senderName,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? margin,
- dynamic onTap()?,
- dynamic onLongPress()?,
- 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,
});