ChatMessageWrapper constructor
const
ChatMessageWrapper({
- Key? key,
- required String messageId,
- required Widget child,
- required ReactionsController controller,
- ChatReactionsConfig config = const ChatReactionsConfig(),
- dynamic onReactionAdded()?,
- dynamic onReactionRemoved()?,
- dynamic onMenuItemTapped()?,
- Alignment alignment = Alignment.centerRight,
- VoidCallback? onPopupOpened,
- VoidCallback? onPopupClosed,
- 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
});