ChatMessageWrapper constructor

const ChatMessageWrapper({
  1. Key? key,
  2. required String messageId,
  3. required Widget child,
  4. required ReactionsController controller,
  5. ChatReactionsConfig config = const ChatReactionsConfig(),
  6. dynamic onReactionAdded(
    1. String
    )?,
  7. dynamic onReactionRemoved(
    1. String
    )?,
  8. dynamic onMenuItemTapped(
    1. MenuItem
    )?,
  9. Alignment alignment = Alignment.centerRight,
  10. VoidCallback? onPopupOpened,
  11. VoidCallback? onPopupClosed,
  12. Future<void> onPopupBeforeCallback()?,
})

Implementation

const ChatMessageWrapper({
  super.key,
  required this.messageId,
  required this.child,
  required this.controller,
  this.config = const ChatReactionsConfig(),
  this.onReactionAdded,
  this.onReactionRemoved,
  this.onMenuItemTapped,
  this.alignment = Alignment.centerRight,
  this.onPopupOpened,
  this.onPopupClosed,
  this.onPopupBeforeCallback

});