CometChatMessageInformation constructor

const CometChatMessageInformation({
  1. Key? key,
  2. required BaseMessage message,
  3. String? title,
  4. Widget? closeIcon,
  5. CometChatMessageTemplate? template,
  6. MessageInformationStyle? messageInformationStyle,
  7. CometChatTheme? theme,
  8. VoidCallback? onClose,
  9. Widget bubbleView(
    1. BaseMessage,
    2. BuildContext context
    )?,
  10. Widget listItemView(
    1. BaseMessage message,
    2. MessageReceipt messageReceipt,
    3. BuildContext context
    )?,
  11. Widget subTitleView(
    1. BaseMessage message,
    2. MessageReceipt messageReceipt,
    3. BuildContext context
    )?,
  12. OnError? onError,
  13. String? receiptDatePattern,
  14. ListItemStyle? listItemStyle,
  15. Widget? readIcon,
  16. Widget? deliveredIcon,
  17. String? emptyStateText,
  18. WidgetBuilder? emptyStateView,
  19. String? errorStateText,
  20. String? loadingIconUrl,
  21. WidgetBuilder? loadingStateView,
  22. WidgetBuilder? errorStateView,
})

Implementation

const CometChatMessageInformation({
  super.key,
  required this.message,
  this.title,
  this.closeIcon,
  this.template,
  this.messageInformationStyle,
  this.theme,
  this.onClose,
  this.bubbleView,
  this.listItemView,
  this.subTitleView,
  this.onError,
  this.receiptDatePattern,
  this.listItemStyle,
  this.readIcon,
  this.deliveredIcon,
  this.emptyStateText,
  this.emptyStateView,
  this.errorStateText,
  this.loadingIconUrl,
  this.loadingStateView,
  this.errorStateView,
});