MessageOptionSheet constructor

const MessageOptionSheet({
  1. Key? key,
  2. required BaseMessage messageObject,
  3. required List<ActionItem> actionItems,
  4. Color? backgroundColor,
  5. String? title,
  6. TextStyle? titleStyle,
  7. CometChatMessageListController? state,
  8. dynamic data,
  9. CometChatTheme? theme,
  10. List<String>? favoriteReactions,
  11. bool? hideReactions = false,
  12. dynamic onReactionTap(
    1. BaseMessage message,
    2. String? reaction
    )?,
  13. dynamic onAddReactionIconTap(
    1. BaseMessage
    )?,
  14. Widget? addReactionIcon,
})

Implementation

const MessageOptionSheet({
  super.key,
  required this.messageObject,
  required this.actionItems,
  this.backgroundColor,
  this.title,
  this.titleStyle,
  this.state,
  this.data,
  this.theme,
  this.favoriteReactions,
  this.hideReactions = false,
  this.onReactionTap,
  this.onAddReactionIconTap,
  this.addReactionIcon,
});