MessageListConfiguration constructor
const
MessageListConfiguration({
- MessagesRequestBuilder? messagesRequestBuilder,
- MessageListStyle? messageListStyle,
- ScrollController? controller,
- String? emptyStateText,
- String? errorStateText,
- WidgetBuilder? loadingStateView,
- WidgetBuilder? emptyStateView,
- WidgetBuilder? errorStateView,
- bool? hideError,
- AvatarStyle? avatarStyle,
- bool? disableSoundForMessages,
- String? customSoundForMessages,
- String? customSoundForMessagePackage,
- Widget? readIcon,
- Widget? deliveredIcon,
- Widget? sentIcon,
- Widget? waitIcon,
- ChatAlignment? alignment,
- bool? showAvatar,
- String datePattern(
- BaseMessage message
- bool? hideTimestamp,
- TimeAlignment? timestampAlignment,
- List<
CometChatMessageTemplate> ? templates, - String? newMessageIndicatorText,
- bool? scrollToBottomOnNewMessages,
- ThreadRepliesClick? onThreadRepliesClick,
- Widget? headerView(
- BuildContext, {
- Group? group,
- int? parentMessageId,
- User? user,
- Widget? messageBubble({})?,
- String dateSeparatorPattern()?,
- OnError? onError,
- CometChatTheme? theme,
- bool? disableReceipt,
- bool? hideReceipt,
- MessageInformationConfiguration? messageInformationConfiguration,
- DateStyle? dateSeparatorStyle,
- ReactionListConfiguration? reactionListConfiguration,
- bool? disableReactions,
- List<
String> ? favoriteReactions, - ReactionsStyle? reactionsStyle,
- Widget? addReactionIcon,
- dynamic addReactionIconTap()?,
- EmojiKeyboardStyle? emojiKeyboardStyle,
- List<
CometChatTextFormatter> ? textFormatters, - bool? disableMentions,
- ReactionsConfiguration? reactionsConfiguration,
Implementation
const MessageListConfiguration({
this.messagesRequestBuilder,
this.messageListStyle,
this.controller,
this.emptyStateText,
this.errorStateText,
this.loadingStateView,
this.emptyStateView,
this.errorStateView,
this.hideError,
this.avatarStyle,
this.disableSoundForMessages,
this.customSoundForMessages,
this.customSoundForMessagePackage,
this.readIcon,
this.deliveredIcon,
this.sentIcon,
this.waitIcon,
this.alignment,
this.showAvatar,
this.datePattern,
this.hideTimestamp,
this.timestampAlignment,
this.templates,
this.newMessageIndicatorText,
this.scrollToBottomOnNewMessages,
this.onThreadRepliesClick,
this.headerView,
this.messageBubble,
this.footerView,
this.dateSeparatorPattern,
this.onError,
this.theme,
this.disableReceipt,
this.hideReceipt,
this.messageInformationConfiguration,
this.dateSeparatorStyle,
this.reactionListConfiguration,
this.disableReactions,
this.favoriteReactions,
this.reactionsStyle,
this.addReactionIcon,
this.addReactionIconTap,
this.emojiKeyboardStyle,
this.textFormatters,
this.disableMentions,
this.reactionsConfiguration,
});