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. DOOUser? user,
  7. Color? primaryColor,
  8. Color? secondaryColor,
  9. Color? backgroundColor,
  10. DOOL10n? l10n,
  11. DateFormat? timeFormat,
  12. DateFormat? dateFormat,
})

Implementation

static show(
  BuildContext context, {
  required String baseUrl,
  required String inboxIdentifier,
  bool enablePersistence = true,
  required String title,
  DOOUser? user,
  Color? primaryColor,
  Color? secondaryColor,
  Color? backgroundColor,
  DOOL10n? l10n,
  DateFormat? timeFormat,
  DateFormat? dateFormat,
}) {
  showDialog(
      context: context,
      builder: (context) {
        return DOOChatDialog(
          baseUrl: baseUrl,
          inboxIdentifier: inboxIdentifier,
          title: title,
          user: user,
          enablePersistence: enablePersistence,
          primaryColor: primaryColor,
          secondaryColor: secondaryColor,
          backgroundColor: backgroundColor,
          l10n: l10n,
          timeFormat: timeFormat,
          dateFormat: dateFormat,
        );
      });
}