MessageConfiguration constructor

const MessageConfiguration({
  1. bool? disableSoundForMessages,
  2. String? customSoundForIncomingMessagePackage,
  3. PreferredSizeWidget messageHeaderView(
    1. User? user,
    2. Group? group,
    3. BuildContext context
    )?,
  4. Widget messageComposerView(
    1. User? user,
    2. Group? group,
    3. BuildContext context
    )?,
  5. Widget messageListView(
    1. User? user,
    2. Group? group,
    3. BuildContext context
    )?,
  6. bool? hideMessageHeader,
  7. MessageHeaderConfiguration? messageHeaderConfiguration,
  8. MessageListConfiguration? messageListConfiguration,
  9. MessageComposerConfiguration? messageComposerConfiguration,
  10. DetailsConfiguration? detailsConfiguration,
  11. String? customSoundForOutgoingMessagePackage,
  12. MessagesStyle? messagesStyle,
  13. bool? disableTyping,
  14. String? customSoundForIncomingMessages,
  15. String? customSoundForOutgoingMessages,
  16. bool? hideMessageComposer,
  17. CometChatTheme? theme,
  18. Widget detailsWidget(
    1. User? user,
    2. Group? group,
    3. BuildContext context
    )?,
  19. ThreadedMessagesConfiguration? threadedMessagesConfiguration,
  20. bool? hideDetails,
  21. Widget? auxiliaryHeaderMenu,
})

Implementation

const MessageConfiguration(
    {this.disableSoundForMessages,
    this.customSoundForIncomingMessagePackage,
    this.messageHeaderView,
    this.messageComposerView,
    this.messageListView,
    this.hideMessageHeader,
    this.messageHeaderConfiguration,
    this.messageListConfiguration,
    this.messageComposerConfiguration,
    this.detailsConfiguration,
    this.customSoundForOutgoingMessagePackage,
    this.messagesStyle,
    this.disableTyping,
    this.customSoundForIncomingMessages,
    this.customSoundForOutgoingMessages,
    this.hideMessageComposer,
    this.theme,
    this.detailsWidget,
    this.threadedMessagesConfiguration,
    this.hideDetails,
    this.auxiliaryHeaderMenu});