show static method

dynamic show(
  1. BuildContext context, {
  2. required String baseUrl,
  3. required String inboxIdentifier,
  4. bool enablePersistence = true,
  5. required String title,
  6. ChatwootUser? user,
  7. Color? primaryColor,
  8. Color? secondaryColor,
  9. Color? backgroundColor,
  10. ChatwootL10n? l10n,
  11. DateFormat? timeFormat,
  12. 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,
        );
      });
}