ChatPage constructor

ChatPage({
  1. Key? key,
  2. required String sessionId,
  3. required NIMSessionType sessionType,
  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. bool onMessageItemLongClick(
    1. ChatMessage message
    )?,
})

Implementation

ChatPage(
    {Key? key,
    required this.sessionId,
    required this.sessionType,
    this.anchor,
    this.customPopActions,
    this.onTapAvatar,
    this.chatUIConfig,
    this.messageBuilder,
    this.onMessageItemClick,
    this.onMessageItemLongClick})
    : super(key: key);