ThreadMessagesView constructor
const
ThreadMessagesView({
- String? attributes,
- ChatUIKitViewObserver? viewObserver,
- required ThreadMessagesViewController controller,
- ChatUIKitAppBarModel? appBarModel,
- bool enableAppBar = true,
- ChatUIKitKeyboardPanelController? inputController,
- List<
ChatUIKitEventAction> ? morePressActions, - MessagesViewMorePressHandler? onMoreActionsItemsHandler,
- List<
ChatUIKitEventAction> ? longPressActions, - MessagesViewItemLongPressPositionHandler? onItemLongPressHandler,
- bool? forceLeft,
- Widget? emojiWidget,
- MessageItemBuilder? replyBarBuilder,
- Widget quoteBuilder(
- BuildContext context,
- QuoteModel model
- Key? key,
- Widget? inputBar,
- MessageItemShowHandler? showMessageItemAvatar,
- MessageItemShowHandler? showMessageItemNickname,
- MessageItemGlobalPositionTapHandler? onItemTap,
- MessageItemGlobalPositionTapHandler? onItemLongPress,
- MessageItemGlobalPositionTapHandler? onDoubleTap,
- MessageItemTapHandler? onAvatarTap,
- MessageItemTapHandler? onAvatarLongPress,
- MessageItemTapHandler? onNicknameTap,
- MessageItemBuilder? itemBuilder,
- MessageItemBuilder? alertItemBuilder,
- MessageItemTapHandler? onErrorBtnTapHandler,
- MessageItemBubbleBuilder? bubbleBuilder,
- MessageItemBuilder? bubbleContentBuilder,
- Widget? multiSelectBottomBar,
- MessageReactionItemTapHandler? onReactionItemTap,
- MessageItemTapHandler? onReactionInfoTap,
- MessageItemBuilder? reactionItemsBuilder,
- 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,
});