EcodeskProps constructor

const EcodeskProps({
  1. required String accountId,
  2. EcodeskCustomerMetadata? customer,
  3. Widget closeIcon = const Icon(Icons.close_rounded),
  4. VoidCallback? closeAction,
  5. bool scrollEnabled = true,
  6. bool floatingSendMessage = false,
  7. bool requireEmailUpfront = false,
  8. Widget? sendIcon,
  9. void onMessageBubbleTap(
    1. EcodeskMessage
    )?,
  10. EcodeskStyle style = const EcodeskStyle(),
  11. EcodeskIntl translations = const EcodeskIntl(),
})

Implementation

const EcodeskProps({
  required this.accountId,
  this.customer,
  this.closeIcon = const Icon(Icons.close_rounded),
  this.closeAction,
  //this.showAgentAvailability = false,
  this.scrollEnabled = true,
  this.floatingSendMessage = false,
  this.requireEmailUpfront = false,
  this.sendIcon,
  this.onMessageBubbleTap,
  this.style = const EcodeskStyle(),
  this.translations = const EcodeskIntl(),
});