ChatBubble constructor
const
ChatBubble({
- Key? key,
- required MessageChat message,
- TextStyle? styleTextHour,
- StyleSentByMe? styleSentByMe,
- StyleReceivedByMe? styleReceivedByMe,
Implementation
const ChatBubble(
{super.key,
required this.message,
this.styleTextHour,
StyleSentByMe? styleSentByMe,
StyleReceivedByMe? styleReceivedByMe})
: styleSentByMe = styleSentByMe ?? const StyleSentByMe(),
styleReceivedByMe = styleReceivedByMe ?? const StyleReceivedByMe();