getAudioMessageBubble method

  1. @override
Widget getAudioMessageBubble(
  1. String? audioUrl,
  2. String? title,
  3. AudioBubbleStyle? style,
  4. MediaMessage message,
  5. BuildContext context,
  6. CometChatTheme theme,
)
override

override this to change view inside content view of message type MessageTypeConstants.audio

Implementation

@override
Widget getAudioMessageBubble(
    String? audioUrl,
    String? title,
    AudioBubbleStyle? style,
    MediaMessage message,
    BuildContext context,
    CometChatTheme theme) {
  return dataSource.getAudioMessageBubble(
      audioUrl, title, style, message, context, theme);
}