PapercupsIntl constructor
const
PapercupsIntl({
- String historyFetchErrorText = 'There was an issue retrieving your details. Please try again!',
- String attachmentUploadErrorText = 'Failed to upload attachment',
- String attachmentUploadedText = 'Attachment uploaded',
- String textCopiedText = 'Text copied to clipboard',
- String attachmentUploadingText = 'Uploading...',
- String enterEmailPlaceholder = 'Enter your email',
- String newMessagePlaceholder = 'Start typing...',
- String noConnectionText = 'No Connection',
- String attachmentNamePlaceholder = 'No Name',
- String subtitle = 'How can we help you?',
- String loadingText = 'Loading...',
- String uploadedText = 'uploaded',
- String retryButtonLabel = 'Retry',
- String sendingText = 'Sending...',
- String imageText = 'Image',
- String companyName = 'Bot',
- String fileText = 'File',
- String sentText = 'Sent',
- String title = 'Welcome!',
- String? greeting,
This text will be shown if the showAgentAvailability is true and you are online. This text will be shown if the showAgentAvailability is true and you are offline.
Implementation
//String agentAvailableText;
/// This text will be shown if the showAgentAvailability is true and you are offline.
//String agentUnavailableText;
const PapercupsIntl({
this.historyFetchErrorText =
'There was an issue retrieving your details. Please try again!',
this.attachmentUploadErrorText = 'Failed to upload attachment',
// this.agentUnavailableText = "We're away at the moment.",
this.attachmentUploadedText = 'Attachment uploaded',
this.textCopiedText = 'Text copied to clipboard',
this.attachmentUploadingText = 'Uploading...',
this.enterEmailPlaceholder = 'Enter your email',
// this.agentAvailableText = "We're available.",
this.newMessagePlaceholder = 'Start typing...',
this.noConnectionText = 'No Connection',
this.attachmentNamePlaceholder = 'No Name',
this.subtitle = 'How can we help you?',
this.loadingText = 'Loading...',
this.uploadedText = 'uploaded',
this.retryButtonLabel = 'Retry',
this.sendingText = 'Sending...',
this.imageText = 'Image',
this.companyName = 'Bot',
this.fileText = 'File',
this.sentText = 'Sent',
this.title = 'Welcome!',
this.greeting,
});