ChatPage constructor

ChatPage({
  1. Key? key,
  2. required String conversationId,
  3. required NIMConversationType conversationType,
  4. NIMMessage? anchor,
  5. PopMenuAction? customPopActions,
  6. bool onTapAvatar(
    1. String? userID, {
    2. bool isSelf,
    })?,
  7. ChatUIConfig? chatUIConfig,
  8. ChatKitMessageBuilder? messageBuilder,
  9. bool onMessageItemClick(
    1. ChatMessage message
    )?,
  10. int? anchorDate,
  11. bool onMessageItemLongClick(
    1. ChatMessage message
    )?,
  12. VoidCallback? onQuitTeam,
})

Implementation

ChatPage({
  Key? key,
  required this.conversationId,
  required this.conversationType,
  this.anchor,
  this.customPopActions,
  this.onTapAvatar,
  this.chatUIConfig,
  this.messageBuilder,
  this.onMessageItemClick,
  this.anchorDate,
  this.onMessageItemLongClick,
  this.onQuitTeam,
}) : super(key: key);