ChatConfiguration constructor
const
ChatConfiguration({
- ChatAlignment senderAlignment = ChatAlignment.end,
- Widget newReceiveMessageNotificationBuilder()?,
- BubbleConfiguration bubbleConfiguration = const BubbleConfiguration(),
- Widget? readOnlyWidget,
- double newMessageScrollThreshold = 300,
- Widget dateSeparatorBuilder(
- BuildContext context,
- String name
- TextStyle? dateSeparatorStyle,
- EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 30),
- Duration? messageAppearAnimationDuration,
- bool messagesStartAtTop = false,
Creates a ChatConfiguration.
Implementation
const ChatConfiguration({
this.senderAlignment = ChatAlignment.end,
this.newReceiveMessageNotificationBuilder,
this.bubbleConfiguration = const BubbleConfiguration(),
this.readOnlyWidget,
this.newMessageScrollThreshold = 300,
this.dateSeparatorBuilder,
this.dateSeparatorStyle,
this.padding = const EdgeInsets.symmetric(horizontal: 30),
this.messageAppearAnimationDuration,
this.messagesStartAtTop = false,
});