getContentView method
Implementation
Widget getContentView(
CustomMessage customMessage, CometChatTheme theme, BuildContext context) {
if (customMessage.deletedAt != null) {
return super.getDeleteMessageBubble(customMessage, theme);
}
return CometChatCollaborativeWhiteBoardBubble(
url: getWebViewUrl(customMessage),
style: WhiteBoardBubbleStyle(
background: configuration?.style?.background,
dividerColor: configuration?.style?.dividerColor,
buttonTextStyle: configuration?.style?.buttonTextStyle,
subtitleStyle: configuration?.style?.subtitleStyle,
titleStyle: configuration?.style?.titleStyle,
iconTint: configuration?.style?.iconTint,
webViewAppBarColor: configuration?.style?.webViewAppBarColor,
webViewBackIconColor: configuration?.style?.webViewBackIconColor,
webViewTitleStyle: configuration?.style?.webViewTitleStyle),
);
}