ChatConfiguration constructor

const ChatConfiguration({
  1. ChatAlignment senderAlignment = ChatAlignment.end,
  2. Widget customInputField(
    1. BuildContext,
    2. ChatController
    )?,
  3. Widget newReceiveMessageNotificationBuilder(
    1. BuildContext,
    2. Message
    )?,
  4. BubbleConfiguration bubbleConfiguration = const BubbleConfiguration(),
  5. double newMessageScrollThreshold = 300,
  6. Widget dateSeparatorBuilder(
    1. BuildContext,
    2. String
    )?,
  7. Widget? readOnlyWidget,
})

Implementation

const ChatConfiguration({
  this.senderAlignment = ChatAlignment.end,
  this.customInputField,
  this.newReceiveMessageNotificationBuilder,
  this.bubbleConfiguration = const BubbleConfiguration(),
  this.newMessageScrollThreshold = 300,
  this.dateSeparatorBuilder,
  this.readOnlyWidget,
});