NiceChatMessages constructor

const NiceChatMessages({
  1. Key? key,
  2. required List<NiceChatMessage> messages,
  3. String? currentUserId,
  4. void onMessageTap(
    1. NiceChatMessage message
    )?,
  5. void onMessageLongPress(
    1. NiceChatMessage message
    )?,
  6. void onReaction(
    1. NiceChatMessage message,
    2. String reaction
    )?,
  7. ScrollController? scrollController,
  8. bool showDateSeparators = true,
  9. Widget? header,
})

Implementation

const NiceChatMessages({
  super.key,
  required this.messages,
  this.currentUserId,
  this.onMessageTap,
  this.onMessageLongPress,
  this.onReaction,
  this.scrollController,
  this.showDateSeparators = true,
  this.header,
});