ChatwootL10n constructor

const ChatwootL10n({
  1. String attachmentButtonAccessibilityLabel = "",
  2. String emptyChatPlaceholder = "",
  3. String fileButtonAccessibilityLabel = "",
  4. String onlineText = "online",
  5. String offlineText = "Typically replies in a few hours",
  6. String typingText = "typing...",
  7. String inputPlaceholder = "Type your message",
  8. String sendButtonAccessibilityLabel = "Send Message",
})

Creates a new chatwoot l10n

Implementation

const ChatwootL10n({
  this.attachmentButtonAccessibilityLabel = "",
  this.emptyChatPlaceholder = "",
  this.fileButtonAccessibilityLabel = "",
  this.onlineText = "online",
  this.offlineText = "Typically replies in a few hours",
  this.typingText = "typing...",
  this.inputPlaceholder = "Type your message",
  this.sendButtonAccessibilityLabel = "Send Message",
}) : super(
          attachmentButtonAccessibilityLabel:
              attachmentButtonAccessibilityLabel,
          emptyChatPlaceholder: emptyChatPlaceholder,
          fileButtonAccessibilityLabel: fileButtonAccessibilityLabel,
          inputPlaceholder: inputPlaceholder,
          sendButtonAccessibilityLabel: sendButtonAccessibilityLabel);