PapercupsProps constructor
const
PapercupsProps({
- required String accountId,
- String baseUrl = 'app.papercups.io',
- PapercupsCustomerMetadata? customer,
- Widget closeIcon = const Icon(Icons.close_rounded),
- VoidCallback? closeAction,
- bool scrollEnabled = true,
- bool floatingSendMessage = false,
- bool requireEmailUpfront = false,
- Widget? sendIcon,
- void onMessageBubbleTap()?,
- PapercupsStyle style = const PapercupsStyle(),
- 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(),
});