MessagesView.arguments constructor

MessagesView.arguments(
  1. MessagesViewArguments arguments, {
  2. Key? key,
})

构造函数, 通过 MessagesViewArguments 传入参数。详细参考 MessagesViewArguments

Implementation

MessagesView.arguments(MessagesViewArguments arguments, {super.key})
    : profile = arguments.profile,
      controller = arguments.controller,
      inputBar = arguments.inputBar,
      appBarModel = arguments.appBarModel,
      showMessageItemAvatar = arguments.showMessageItemAvatar,
      showMessageItemNickname = arguments.showMessageItemNickname,
      onItemTap = arguments.onItemTap,
      onDoubleTap = arguments.onDoubleTap,
      onAvatarTap = arguments.onAvatarTap,
      onNicknameTap = arguments.onNicknameTap,
      emojiWidget = arguments.emojiWidget,
      itemBuilder = arguments.itemBuilder,
      alertItemBuilder = arguments.alertItemBuilder,
      onAvatarLongPress = arguments.onAvatarLongPress,
      morePressActions = arguments.morePressActions,
      replyBarBuilder = arguments.replyBarBuilder,
      quoteBuilder = arguments.quoteBuilder,
      onErrorBtnTapHandler = arguments.onErrorBtnTapHandler,
      bubbleBuilder = arguments.bubbleBuilder,
      enableAppBar = arguments.enableAppBar,
      onMoreActionsItemsHandler = arguments.onMoreActionsItemsHandler,
      onItemLongPressHandler = arguments.onItemLongPressHandler,
      bubbleContentBuilder = arguments.bubbleContentBuilder,
      inputController = arguments.inputController,
      forceLeft = arguments.forceLeft,
      multiSelectBottomBar = arguments.multiSelectBottomBar,
      viewObserver = arguments.viewObserver,
      attributes = arguments.attributes,
      onReactionItemTap = arguments.onReactionItemTap,
      onReactionInfoTap = arguments.onReactionInfoTap,
      reactionItemsBuilder = arguments.reactionItemsBuilder,
      onThreadItemTap = arguments.onThreadItemTap,
      threadItemBuilder = arguments.threadItemBuilder,
      backgroundWidget = arguments.backgroundWidget;