ChatBubble constructor

const ChatBubble({
  1. Key? key,
  2. required MessageChat message,
  3. TextStyle? styleTextHour,
  4. StyleSentByMe? styleSentByMe,
  5. StyleReceivedByMe? styleReceivedByMe,
})

Implementation

const ChatBubble(
    {super.key,
    required this.message,
    this.styleTextHour,
    StyleSentByMe? styleSentByMe,
    StyleReceivedByMe? styleReceivedByMe})
    : styleSentByMe = styleSentByMe ?? const StyleSentByMe(),
      styleReceivedByMe = styleReceivedByMe ?? const StyleReceivedByMe();