show static method
dynamic
show(
- BuildContext context, {
- required String baseUrl,
- required String inboxIdentifier,
- bool enablePersistence = true,
- required String title,
- ChatwootUser? user,
- Color? primaryColor,
- Color? secondaryColor,
- Color? backgroundColor,
- ChatwootL10n? l10n,
- DateFormat? timeFormat,
- DateFormat? dateFormat,
Implementation
static show(
BuildContext context, {
required String baseUrl,
required String inboxIdentifier,
bool enablePersistence = true,
required String title,
ChatwootUser? user,
Color? primaryColor,
Color? secondaryColor,
Color? backgroundColor,
ChatwootL10n? l10n,
DateFormat? timeFormat,
DateFormat? dateFormat,
}) {
showDialog(
context: context,
builder: (context) {
return ChatwootChatDialog(
baseUrl: baseUrl,
inboxIdentifier: inboxIdentifier,
title: title,
user: user,
enablePersistence: enablePersistence,
primaryColor: primaryColor,
secondaryColor: secondaryColor,
backgroundColor: backgroundColor,
l10n: l10n,
timeFormat: timeFormat,
dateFormat: dateFormat,
);
});
}