getAudioMessageBubble method
      
  
Widget
getAudioMessageBubble(
    
- String? audioUrl,
- String? title,
- AudioBubbleStyle? style,
- MediaMessage message,
- BuildContext context,
- 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 CometChatAudioBubble(
    style: AudioBubbleStyle(
        background: style?.background,
        border: style?.border,
        borderRadius: style?.borderRadius,
        gradient: style?.gradient,
        height: style?.height,
        width: style?.width,
        pauseIconTint: style?.pauseIconTint,
        playIconTint: style?.playIconTint,
        titleStyle: TextStyle(
                fontSize: theme.typography.name.fontSize,
                fontWeight: theme.typography.name.fontWeight,
                fontFamily: theme.typography.name.fontFamily,
                color: theme.palette.getAccent())
            .merge(style?.titleStyle),
        subtitleStyle: TextStyle(
                fontSize: theme.typography.subtitle2.fontSize,
                fontWeight: theme.typography.subtitle2.fontWeight,
                fontFamily: theme.typography.subtitle2.fontFamily,
                color: theme.palette.getAccent600())
            .merge(style?.subtitleStyle)),
    audioUrl: audioUrl,
    title: title,
    key: UniqueKey(),
  );
}