PapercupsProps constructor

const PapercupsProps({
  1. required String accountId,
  2. String baseUrl = 'app.papercups.io',
  3. PapercupsCustomerMetadata? customer,
  4. Widget closeIcon = const Icon(Icons.close_rounded),
  5. VoidCallback? closeAction,
  6. bool scrollEnabled = true,
  7. bool floatingSendMessage = false,
  8. bool requireEmailUpfront = false,
  9. Widget? sendIcon,
  10. void onMessageBubbleTap(
    1. PapercupsMessage
    )?,
  11. PapercupsStyle style = const PapercupsStyle(),
  12. PapercupsIntl translations = const PapercupsIntl(),
})

Implementation

const PapercupsProps({
  required this.accountId,
  this.baseUrl = 'app.papercups.io',
  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 PapercupsStyle(),
  this.translations = const PapercupsIntl(),
});