ChatwootChat constructor
const
ChatwootChat({
- Key? key,
- required String baseUrl,
- required String inboxIdentifier,
- bool enablePersistence = true,
- ChatwootUser? user,
- PreferredSizeWidget? appBar,
- Future<
void> onEndReached()?, - double? onEndReachedThreshold,
- void onMessageLongPress(
- Message
- void onMessageTap(
- Message
- void onSendPressed(
- PartialText
- void onTextChanged()?,
- bool showUserAvatars = true,
- bool showUserNames = true,
- ChatwootChatTheme? theme,
- ChatwootL10n? l10n,
- DateFormat? timeFormat,
- DateFormat? dateFormat,
- void onWelcome()?,
- void onPing()?,
- void onConfirmedSubscription()?,
- void onMessageReceived()?,
- void onMessageSent()?,
- void onMessageDelivered()?,
- void onPersistedMessagesRetrieved()?,
- void onMessagesRetrieved()?,
- void onConversationStartedTyping()?,
- void onConversationStoppedTyping()?,
- void onConversationIsOnline()?,
- void onConversationIsOffline()?,
- void onError()?,
- bool isPresentedInDialog = false,
Implementation
const ChatwootChat(
{Key? key,
required this.baseUrl,
required this.inboxIdentifier,
this.enablePersistence = true,
this.user,
this.appBar,
this.onEndReached,
this.onEndReachedThreshold,
this.onMessageLongPress,
this.onMessageTap,
this.onSendPressed,
this.onTextChanged,
this.showUserAvatars = true,
this.showUserNames = true,
this.theme,
this.l10n,
this.timeFormat,
this.dateFormat,
this.onWelcome,
this.onPing,
this.onConfirmedSubscription,
this.onMessageReceived,
this.onMessageSent,
this.onMessageDelivered,
this.onPersistedMessagesRetrieved,
this.onMessagesRetrieved,
this.onConversationStartedTyping,
this.onConversationStoppedTyping,
this.onConversationIsOnline,
this.onConversationIsOffline,
this.onError,
this.isPresentedInDialog = false})
: super(key: key);