ChatMessageListConfig constructor

const ChatMessageListConfig({
  1. double? textBubbleCornerRadius,
  2. String? alignment,
  3. bool? isShowTimeMessage,
  4. bool? isShowLeftAvatar,
  5. bool? isShowLeftNickname,
  6. bool? isShowRightAvatar,
  7. bool? isShowRightNickname,
  8. bool? isShowTimeInBubble,
  9. double? cellSpacing,
  10. bool? isShowSystemMessage,
  11. bool? isShowUnsupportMessage,
  12. bool? isSupportCopy,
  13. bool? isSupportDelete,
  14. bool? isSupportRecall,
  15. double? horizontalPadding,
  16. double? avatarSpacing,
})

Implementation

const ChatMessageListConfig({
  double? textBubbleCornerRadius,
  String? alignment,
  bool? isShowTimeMessage,
  bool? isShowLeftAvatar,
  bool? isShowLeftNickname,
  bool? isShowRightAvatar,
  bool? isShowRightNickname,
  bool? isShowTimeInBubble,
  double? cellSpacing,
  bool? isShowSystemMessage,
  bool? isShowUnsupportMessage,
  bool? isSupportCopy,
  bool? isSupportDelete,
  bool? isSupportRecall,
  double? horizontalPadding,
  double? avatarSpacing,
})  : _userTextBubbleCornerRadius = textBubbleCornerRadius,
      _userAlignment = alignment,
      _userIsShowTimeMessage = isShowTimeMessage,
      _userIsShowLeftAvatar = isShowLeftAvatar,
      _userIsShowLeftNickname = isShowLeftNickname,
      _userIsShowRightAvatar = isShowRightAvatar,
      _userIsShowRightNickname = isShowRightNickname,
      _userIsShowTimeInBubble = isShowTimeInBubble,
      _userCellSpacing = cellSpacing,
      _userIsShowSystemMessage = isShowSystemMessage,
      _userIsShowUnsupportMessage = isShowUnsupportMessage,
      _userIsSupportCopy = isSupportCopy,
      _userIsSupportDelete = isSupportDelete,
      _userIsSupportRecall = isSupportRecall,
      _userHorizontalPadding = horizontalPadding,
      _userAvatarSpacing = avatarSpacing;