ThreadMessagesView constructor

const ThreadMessagesView({
  1. String? attributes,
  2. ChatUIKitViewObserver? viewObserver,
  3. required ThreadMessagesViewController controller,
  4. ChatUIKitAppBarModel? appBarModel,
  5. bool enableAppBar = true,
  6. ChatUIKitKeyboardPanelController? inputController,
  7. List<ChatUIKitEventAction>? morePressActions,
  8. MessagesViewMorePressHandler? onMoreActionsItemsHandler,
  9. List<ChatUIKitEventAction>? longPressActions,
  10. MessagesViewItemLongPressPositionHandler? onItemLongPressHandler,
  11. bool? forceLeft,
  12. Widget? emojiWidget,
  13. MessageItemBuilder? replyBarBuilder,
  14. Widget quoteBuilder(
    1. BuildContext context,
    2. QuoteModel model
    )?,
  15. Key? key,
  16. Widget? inputBar,
  17. MessageItemShowHandler? showMessageItemAvatar,
  18. MessageItemShowHandler? showMessageItemNickname,
  19. MessageItemGlobalPositionTapHandler? onItemTap,
  20. MessageItemGlobalPositionTapHandler? onItemLongPress,
  21. MessageItemGlobalPositionTapHandler? onDoubleTap,
  22. MessageItemTapHandler? onAvatarTap,
  23. MessageItemTapHandler? onAvatarLongPress,
  24. MessageItemTapHandler? onNicknameTap,
  25. MessageItemBuilder? itemBuilder,
  26. MessageItemBuilder? alertItemBuilder,
  27. MessageItemTapHandler? onErrorBtnTapHandler,
  28. MessageItemBubbleBuilder? bubbleBuilder,
  29. MessageItemBuilder? bubbleContentBuilder,
  30. Widget? multiSelectBottomBar,
  31. MessageReactionItemTapHandler? onReactionItemTap,
  32. MessageItemTapHandler? onReactionInfoTap,
  33. MessageItemBuilder? reactionItemsBuilder,
  34. ChatUIKitMoreActionsBuilder? rightTopMoreActionsBuilder,
})

Implementation

const ThreadMessagesView({
  this.attributes,
  this.viewObserver,
  required this.controller,
  this.appBarModel,
  this.enableAppBar = true,
  this.inputController,
  this.morePressActions,
  this.onMoreActionsItemsHandler,
  this.longPressActions,
  this.onItemLongPressHandler,
  this.forceLeft,
  this.emojiWidget,
  this.replyBarBuilder,
  this.quoteBuilder,
  super.key,
  this.inputBar,
  this.showMessageItemAvatar,
  this.showMessageItemNickname,
  this.onItemTap,
  this.onItemLongPress,
  this.onDoubleTap,
  this.onAvatarTap,
  this.onAvatarLongPress,
  this.onNicknameTap,
  this.itemBuilder,
  this.alertItemBuilder,
  this.onErrorBtnTapHandler,
  this.bubbleBuilder,
  this.bubbleContentBuilder,
  this.multiSelectBottomBar,
  this.onReactionItemTap,
  this.onReactionInfoTap,
  this.reactionItemsBuilder,
  this.rightTopMoreActionsBuilder,
});