getFileMessageBubble method

  1. @override
Widget getFileMessageBubble(
  1. String? fileUrl,
  2. String? fileMimeType,
  3. String? title,
  4. int? id,
  5. FileBubbleStyle? style,
  6. MediaMessage message,
  7. CometChatTheme theme,
)
override

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

Implementation

@override
Widget getFileMessageBubble(
    String? fileUrl,
    String? fileMimeType,
    String? title,
    int? id,
    FileBubbleStyle? style,
    MediaMessage message,
    CometChatTheme theme) {
  return dataSource.getFileMessageBubble(
      fileUrl, fileMimeType, title, id, style, message, theme);
}