getImageMessageBubble method

  1. @override
Widget getImageMessageBubble(
  1. String? imageUrl,
  2. String? placeholderImage,
  3. String? caption,
  4. ImageBubbleStyle? style,
  5. MediaMessage message,
  6. dynamic onClick()?,
  7. BuildContext context,
  8. CometChatTheme theme,
)
override

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

Implementation

@override
Widget getImageMessageBubble(
    String? imageUrl,
    String? placeholderImage,
    String? caption,
    ImageBubbleStyle? style,
    MediaMessage message,
    Function()? onClick,
    BuildContext context,
    CometChatTheme theme) {
  return dataSource.getImageMessageBubble(imageUrl, placeholderImage, caption,
      style, message, onClick, context, theme);
}