ChatConfiguration constructor
const
ChatConfiguration({
- ChatAlignment senderAlignment = ChatAlignment.end,
- Widget customInputField()?,
- Widget newReceiveMessageNotificationBuilder()?,
- BubbleConfiguration bubbleConfiguration = const BubbleConfiguration(),
- double newMessageScrollThreshold = 300,
- Widget dateSeparatorBuilder(
- BuildContext context,
- String name
- Widget? readOnlyWidget,
Implementation
const ChatConfiguration({
this.senderAlignment = ChatAlignment.end,
this.customInputField,
this.newReceiveMessageNotificationBuilder,
this.bubbleConfiguration = const BubbleConfiguration(),
this.newMessageScrollThreshold = 300,
this.dateSeparatorBuilder,
this.readOnlyWidget,
});