CometChatReactionList constructor

const CometChatReactionList({
  1. Key? key,
  2. ReactionsRequestBuilder? reactionRequestBuilder,
  3. WidgetBuilder? errorStateView,
  4. String? errorStateText,
  5. WidgetBuilder? loadingStateView,
  6. WidgetBuilder? emptyStateView,
  7. String? emptyStateText,
  8. Widget? loadingIcon,
  9. AvatarStyle? avatarStyle,
  10. dynamic onTap(
    1. Reaction,
    2. BaseMessage
    )?,
  11. ReactionListStyle? reactionListStyle,
  12. String? selectedReaction,
  13. ListItemStyle? listItemStyle,
  14. BaseMessage? messageObject,
  15. CometChatTheme? theme,
})

Implementation

const CometChatReactionList({
  super.key,
  this.reactionRequestBuilder,
  this.errorStateView,
  this.errorStateText,
  this.loadingStateView,
  this.emptyStateView,
  this.emptyStateText,
  this.loadingIcon,
  this.avatarStyle,
  this.onTap,
  this.reactionListStyle,
  this.selectedReaction,
  this.listItemStyle,
  this.messageObject,
  this.theme,
});