getVideoMessageBubble method

  1. @override
Widget getVideoMessageBubble(
  1. String? videoUrl,
  2. String? thumbnailUrl,
  3. MediaMessage message,
  4. dynamic onClick()?,
  5. BuildContext context,
  6. CometChatTheme theme,
  7. VideoBubbleStyle? style,
)
override

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

Implementation

@override
Widget getVideoMessageBubble(
    String? videoUrl,
    String? thumbnailUrl,
    MediaMessage message,
    Function()? onClick,
    BuildContext context,
    CometChatTheme theme,
    VideoBubbleStyle? style) {
  String? thumbnailUrl0 = checkForThumbnail(message);
  return super.getVideoMessageBubble(videoUrl, thumbnailUrl0, message, null,
      context, configuration?.theme ?? theme, configuration?.style ?? style);
}